c# 15767

  1. What is the difference between String and string in C#?
  2. What is the difference between String and string in C#?
  3. How do I enumerate an enum?
  4. Cast int to enum in C#
  5. Case insensitive 'Contains(string)'
  6. What is a NullReferenceException, and how do I fix it?
  7. What are the correct version numbers for C#?
  8. How do I get a consistent byte representation of strings in C# without manually specifying an encoding?
  9. What is the best way to iterate over a Dictionary in C#?
  10. Deep cloning objects
  11. How do I calculate someone's age in C#?
  12. Should 'using' statements be inside or outside the namespace?
  13. Catch multiple exceptions at once?
  14. Hidden Features of C#?
  15. Create Excel (.XLS and .XLSX) file from C#
  16. Is there a reason for C#'s reuse of the variable in a foreach?
  17. Proper use of the IDisposable interface
  18. Try-catch speeding up my code?
  19. How do you give a C# Auto-Property a default value?
  20. Calculate relative time in C#
  21. How do I generate a random int number in C#?
  22. Get int value from enum in C#
  23. What do two question marks together mean in C#?
  24. What is the difference between an abstract function and a virtual function?
  25. Static readonly vs const
  26. Why is Dictionary preferred over Hashtable?
  27. When to use struct?
  28. Why is it important to override GetHashCode when Equals method is overridden?
  29. Type Checking: typeof, GetType, or is?
  30. \d is less efficient than
  31. How do I update the GUI from another thread in C#?
  32. Virtual member call in a constructor
  33. Can you loop through all enum values?
  34. Calling the base constructor in C#
  35. How do you convert a byte array to a hexadecimal string, and vice versa?
  36. What does the [Flags] Enum Attribute mean in C#?
  37. How do I remedy the “The breakpoint will not currently be hit. No symbols have been loaded for this document.” warning?
  38. Path.Combine for URLs?
  39. What is the difference between const and readonly?
  40. Ukkonen's suffix tree algorithm in plain English
  41. Create Generic method constraining T to an Enum
  42. Why not inherit from List<T>?
  43. Returning IEnumerable<T> vs. IQueryable<T>
  44. LINQ query on a DataTable
  45. How to escape braces (curly brackets) in a format string in .NET
  46. C# String enums
  47. How to Sort a List<T> by a property in the object
  48. Entity Framework 5 Updating a Record
  49. How do I use reflection to call a generic method?
  50. Best way to parse command line arguments in C#?