Check out example codes for "what is c# used for". It will help you in understanding the concepts better.

Code Example 1

C# was developed by Microsoft and is used in essentially all of their products. It is mainly used for developing desktop applications and, more recently, Windows 8/10 applications. It is also a part of . NET so it is used alongside languages like ASP in web development and apps.

Learn ReactJs, React Native from akashmittal.com