C# csharp Interview Questions

C#(sharp) Interview Questions
  1. What is C#?
  2. How does one compare strings in C#?
  3. How do you mark a method obsolete?
  4. How do you directly call a native function exported from a DLL?
  5. How do you implement thread synchronization (Object.Wait, Notify,and CriticalSection) in C#?
  6. What do you know about .NET assemblies?
  7. What is a strong name?
  8. What is the difference between private and shared assembly?
  9. How can you debug failed assembly binds?
  10. How can you create a strong name for a .NET assembly?
  11. What is delay signing?
  12. How do I make a DLL in C#?
  13. Does C# support properties of array types?
  14. Is there regular expression (regex) support available to C# developers?
  15. Is there a way to force garbage collection?
  16. What connections does Microsoft SQL Server support?
  17. How is method overriding different from overloading?
  18. What is a satellite assembly?
  19. Why are there five tracing levels in System.Diagnostics.TraceSwitcher?
  20. What optimizations does the C# compiler perform when you use the /optimize+ compiler option?
  21. What is the difference between the System.Array.CopyTo() and System.Array.Clone()?
  22. How do I declare inout arguments in C#?
  23. What is the top .NET class that everything is derived from?
  24. Can you inherit multiple interfaces?
  25. Can you change the value of a variable while debugging a C# application?
  26. Which one is trusted and which one is untrusted?
  27. What namespaces are necessary to create a localized application?
  28. How can I create a process that is running a supplied native executable?
  29. What is the difference between const and static read-only?
  30. Does Console.WriteLine() stop printing when it reaches a NULL character within a string?
  31. What is the advantage of using System.Text.StringBuilder over System.String?
  32. Why do I get a security exception when I try to run my C# app?
  33. Is there any sample C# code for simple threading?
  34. Does C# support templates?
  35. Does C# support C type macros?
  36. Why does my Windows application pop up a console window every time I run it?
  37. What is the wildcard character in SQL?
  38. What is a multicast delegate?
  39. How does one compare strings in C#?
  40. How do I get deterministic finalization in C#?
  41. How do I convert a string to an int in C#?
  42. What is the difference between a struct and a class in C#?
  43. What is the .NET datatype that allows the retrieval of data by a unique key?
  44. How can I get the ASCII code for a character in C#?
  45. Is there an equivalent to the instanceof operator in Visual J++?
  46. How do destructors and garbage collection work in C#?
  47. How do you debug an ASP.NET Web application?
  48. What is a delegate?
  49. What is the difference between an interface and abstract class?
  50. What is an abstract class?
  51. What does the term immutable mean?
  52. What is the difference between System.String and System.Text.StringBuilder classes?
  53. What is the advantage of using System.Text.StringBuilder over System.String?
  54. What is the difference between the System.Array.CopyTo() and System.Array.Clone()?
  55. What is an interface class?
  56. What is the syntax to inherit from a class in C#?
  57. What is the difference between a Struct and a Class?
  58. What is a multicast delegate?
  59. Why are there five tracing levels in System.Diagnostics.TraceSwitcher?
  60. How do you debug an ASP.NET Web application?
  61. What is the difference between imperative and interrogative code?
  62. What are value types and reference types?
  63. Are private class-level variables inherited?
  64. What is the difference between a sub and a function?
  65. What does the term immutable mean?

No comments: