The first contact with the front end is because friends in the industry, when they graduated more than a year has not found the direction of life, listening to friends said that they feel very interested in this line, so to learn the front-end.
The beginning of learning is the C # language, feeling and not so difficult to imagine, understand the basis of the code is actually quite looking forward to learning new things.
C # for almost a week, where the difficulty in the collection and function, I was writing a decomposition factorization code, some places still the card master.
When judging factorization, I forgot to declare a variable of type bool and to determine the loop position of the two results in the wrong way.
In the calculation of the sum of the factorization, began to think too complex, in fact, only with each cycle of the results are added.
The final code is written as follows:
Of course there are other places have encountered problems, but actually understand the principle, or need to repeat the operation, repeated practice, when you knock the more code, you will be more skilled
Getting Started with C #