Learn C# Programming

C# tutorials

C# is a simple & powerful object-oriented programming language developed by Microsoft. C# can be used to create various types of applications, such as web, windows, console applications, or other types of applications using Visual studio.

C# Articles

  1. Asynchronous programming with async, await, Task in C#
  2. Difference between static, readonly, and constant in C#
  3. IndexOutOfRangeException in C#
  4. Foreach Loop in C#
  5. How to loop through an enum in C#?
  6. NullReferenceException in C#
  7. Generate Random Numbers in C#
  8. Set Default Value to Property in C#
  9. Variable Scopes in C#
  10. When to use Struct over Class in C#
  11. Difference between Two Dates in C#
  12. Convert int to enum in C#
  13. BigInteger Data Type in C#
  14. Convert String to Enum in C#
  15. Convert an Object to JSON in C#
  16. Convert JSON String to Object in C#
  17. The Main() Method in C#
  18. How to Pass or Access Command-line Arguments in C#?
  19. DateTime Formats in C#
  20. How to convert date object to string in C#?
  21. Searching in C# array
  22. Compare strings in C#
  23. How to count elements in C# array?
  24. How to combine two arrays without duplicate values in C#?
  25. Difference between String and string in C#.
  26. How to get a comma separated string from an array in C#?
  27. How to remove duplicate values from an array in C#?
  28. How to sort an array in C#?
  29. How to sort object array by specific property in C#?
  30. ref Keyword in C#
  31. Query geolocation & proxy data in .NET using IP2Location
  32. Boxing and Unboxing in C#
  33. out keyword in C#
  34. How to convert string to int in C#?
  35. Design Principle vs Design Pattern
  36. How to calculate the code execution time in C#?
  37. How to read file using StreamReader in C#?
  38. Difference between delegates and events in C#
  39. How to sort the generic SortedList in the descending order?
  40. How to write file using StreamWriter in C#?
  41. Difference between Array and ArrayList
  42. Difference between Hashtable and Dictionary
C# Q & A
C# Q & A
C# Skill Test
C# Tests