.net .net 8,768

  1. What is the difference between String and string in C#?
  2. How do I iterate over an enum?
  3. What are the correct version numbers for C#?
  4. What is a NullReferenceException, and how do I fix it?
  5. How do I get a consistent byte representation of strings in C# without manually specifying an encoding?
  6. Deep cloning objects
  7. How do I calculate someone's age in C#?
  8. Difference between decimal, float and double in .NET?
  9. Should 'using' directives be inside or outside the namespace?
  10. Catch multiple exceptions at once?
  11. Create Excel (.XLS and .XLSX) file from C#
  12. Proper use of the IDisposable interface
  13. Try-catch speeding up my code?
  14. What is the best algorithm for an overridden System.Object.GetHashCode?
  15. Why is Dictionary preferred over Hashtable?
  16. How do I update the GUI from another thread?
  17. Can you loop through all enum values?
  18. How do I remedy the β€œThe breakpoint will not currently be hit. No symbols have been loaded for this document.” warning?
  19. Path.Combine for URLs?
  20. What is the difference between const and readonly?
  21. Why not inherit from List<T>?
  22. Html.Partial vs Html.RenderPartial & Html.Action vs Html.RenderAction
  23. LINQ query on a DataTable
  24. How to escape braces (curly brackets) in a format string in .NET
  25. Group By Multiple Columns
  26. How can I get the application's path in a .NET console application?
  27. ASP.NET Web Site or ASP.NET Web Application?
  28. Escape curly brace '{' in String.Format
  29. Deserialize JSON into C# dynamic object?
  30. What are differences between AssemblyVersion, AssemblyFileVersion and AssemblyInformationalVersion?
  31. Entity Framework vs LINQ to SQL
  32. Sending email in .NET through Gmail
  33. Best way to parse command line arguments in C#?
  34. Error - Unable to access the IIS metabase
  35. Most Useful Attributes
  36. How to convert UTF-8 byte[] to string?
  37. How do I mark a method as obsolete or deprecated?
  38. How do I force my .NET application to run as administrator?
  39. How to enable assembly bind failure logging (Fusion) in .NET
  40. How can I generate random alphanumeric strings in C#?
  41. How and When to use `async` and `await`
  42. How to make HTTP POST web request
  43. Is there a way to check if a file is in use?
  44. .NET String.Format() to add commas in thousands place for a number
  45. When to use .First and when to use .FirstOrDefault with LINQ?


  46. How do I get the path of the assembly the code is in?
  47. Easiest way to split a string on newlines in .NET?
  48. What NoSQL solutions are out there for .NET?
  49. What is the difference between Public, Private, Protected, and Nothing?
  50. In C#, should I use string.Empty or String.Empty or β€œβ€ to intitialize a string?