Advanced C# Interview Questions asked in HCL for Senior Developers.
- What does new() mean in C#?
- What's the difference between a public constructor in an internal class and an internal constructor?
- How do static constructors for generic types work?
- How to store a ratio in a single variable and read it back in C#
- What does object @object mean in C#?
- What's the difference between a streamwriter and a binarywriter?
- How do static properties work in an asp.net enviroment?
- How do you mock a private field?
- How to store the file in a string?
- What does object.start() mean?
- What is the difference between Fixed and Unsafe?
- How do StyleTriggers work?
- How to suspend a thread by its name from the main thread?
- What does placing a @ in front of a C# variable name do?
- What's the difference between an abstract class and a static one?
- How do you use random numbers in C#?
- How to tell what value types are initialized to by the CLR?
- What is the difference between Function and Delegate in C#?
- How do you display HTML in windows app in C#?
- What does really happen when you do GetType()?
- What's the difference between an argument and a parameter?
- How do the compiler know it is out of scope?
- What is the difference between HashSet and List in C#?
- How do you mock your Webservice?
- How do you use SecureString securely?
- How do you model c# attributes in UML?
- How do transactions work in nhibernate?
- How do you use System.Threading.Timer and Thread.Sleep?
- How to track directory opening?
- What does RETURN in a method do?
- How do virtual methods work in C#?
No comments :