- Whats the difference between a .NET and C#?
- Differentiate between .NET framework vs .NET Core vs .NET 5.0
- What is an IL code?
- Why IL code is not fully compiled?
- Who compiles the IL code and how does it work?
- How does JIT compilationwork?
- What are different types of JIT?
- What is Native Image Generator (Ngen.exe)?
- So does it mean that NGEN.EXE will always improve performance?
- Is it possible to view the IL code ?
- What is a CLR?
- What is the difference between managed and unmanaged code?
- What is a garbage collector?
- What are generations in Garbage collector (Gen 0, and )?
- Garbage collector cleans managed code, howdo we clean unmanaged code?
- But when we create a destructor the performance falls down?
- So how can we clean unmanaged objects and also maintain performance?
- Can we force garbage collector to run?
- What is the difference between finalize and dispose?
- What is CTS?
- What is a CLS (Common Language Specification)?
- What is an Assembly?
- What are the different types of Assembly?
- What is Namespace?
- What is Difference between NameSpace and Assembly?
- What is ILDASM?
- What is Manifest?
- Where is the version information stored of an assembly?
- Is versioning applicable to private assemblies?
- What is the use of strong names?
- What is Delay signing?
- What is GAC?
- How to add and remove an assembly from GAC?
- If we have two versions of the same assembly in GAC how to we make a choice?
- What is Reflection and why we need it? 5
- How do we implement reflection? 5
- What are the practical uses of reflection?
- What is the use of Dynamic keyword?
- What are practical uses of Dynamic keyword?
- What is the difference between Reflection and Dynamic?
- Figure .:- Reflection
- Explain the difference between early binding and late binding?
- What is the difference between VAR and Dynamic keyword? 0
- Explain term type safety and casting in C#?
- Explain casting, implicit conversion and explicit conversion?
- What are stack and heap?
- What are Value types and Reference types?
- What is concept of Boxing and Unboxing?
- How performance is affected due to boxing and unboxing?
- How can we avoid boxing and unboxing?
- If we have a class referencing value type, where is value type stored ?
- Are static variables stored on a heap or stack ?
- How to prevent my .NET DLL to be decompiled?
- What is the difference between Convert.toString and .toString () method?
- What is the difference between String vs string? 5
- So when both mean the same thing why are they different? 5
- So when to use “String” and “string”?
- How can we handle exceptions in .NET?
- How can I know from which source the exception occurred?
- What if we do not catch the exception?
- What are system level exceptions and application level exceptions?
- Can two catch blocks be executed?
- What are different types of collections in .NET?
- What is the difference between arraylist and list?
- Are Arraylist faster or Arrays?
- What are hashtable collections? 0
- What are Queues and stack collection? 0
- Can you explain generics in .NET? 0
- Explain generic constraints and when should we use them?
- Can you explain the concept of generic collection?
- What is the difference between dictionary and hashtable?
- What are the generic equivalent for array list,stack, queues and hashtable?
- What is the use of IEnumerable, ICollection, Ilist and IDictionary?
- Differentiate IEnumerable vs Iqueryable?
- What is code access security (CAS)? 5
- So how does CAS actually work?
- Is CAS supported in .NET .0?
- What is sandboxing?
- How can we create a windows service using .NET?
- What is serialization and deserialization in .NET?
- Can you mention some scenarios where we can use serialization? 0
- When should we use binary serialization as compared to XML serialization? 0
- What is Regular expression?
- What is time out support in regex (regular expression)?
- Can you explain the concept of “Short Circuiting”?
- What is the difference between “Typeof” and “GetType” ?
- Will the following c# code compile?
- Explain the use of Icomparable in c#?
- What is difference between Icomparable and IComparer ?
- Can you explain Lazy Loading?
- So how do we implement “LazyLoading” ?
- Are there any readymade objects in .NET by which we can implement Lazy loading? 5
- What are the advantages / disadvantages of lazy loading?
- What is the difference between “IS” and “AS” keyword ?
- What is the use of “Yield” keyword?
- What is the difference between “==” and .Equals()?
- What’s the difference between catch with parameter and catch without parameter?
- What are attributes and why do we need it?
- How can we create custom Attributes?
- How can we mark a method as deprecated?
- What is the difference between Build Vs Rebuild Vs Clean solution menu ?
- What is the difference between i++ vs ++i ?
- When should we use “??”(NULL Coalescing operator)?
- Explain need of NULLABLE types ?
- In what scenario’s we will use NULLABLE types ?
- What is the benefit of coalescing?
Saturday, 29 June 2024
C# Interview Questions
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Thanks for the contribution, our team will check and reply back if response required.