Getting Started with C #

Source: Internet
Author: User

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 #

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.