How to Learn C# From Scratch
- 1). Download a C# compiler from the Internet. You can find several web sites where you can download a compiler by doing an Internet search. A C# compiler is also included in Microsoft's .NET framework.
- 2). Visit the website from which you downloaded your compiler, then find its documentation, a programming term for instructions. Learn how your chosen compiler "compiles." This is the process whereby your language code, written out in words you can understand, is converted into machine codes which your computer can understand. Some compilers are graphically based and have compiling as a menu option, and in others you will have to enter the console.
- 3). Conduct a web search for free tutorials. Use your chosen resource to learn about variables. If you have never programmed before, you are still likely familiar with them from Algebra: a placeholder representing a value which can be changed. In programming, variables take the form of numbers, letters, and multi-letter combination (we would normally describe them as words) which are character strings for the purposes of programming. Find a tutorial to teach them online. Then get comfortable assigning them values, changing their values, and using them to assign other variables a value.
- 4). Search the Internet for tutorials on "objects and classes." Objects represent a sophisticated way of storing data and functions. You will become familiar with them as you use C# to perform many operations you might consider to be elementary, like writing out to a console. When you learn how objects conceptually communicate with each other in C#, then you'll be ready to learn their functionality to write code without being confused by their syntax.
- 5). Search for additional tutorials and project ideas. The best way to learn how to program in a given language is simply to program in it.
Source...