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