- What are differences between .NET Framework and .NET Core?
- What are differences between .NET and C#?
- What are major differences between Visual Studio and Visual Studio Core?
- What are differences between Source code and compiled code in C#?
- What is MSIL? How it is different from C#?
- What is JIT compiler? How it is different from other compilers?
- What is difference between bin and obj folders in .NET projects?
- What is difference between debug and release mode in .NET projects?
- What is difference between debug and release folders in .NET projects?
- What are differences between Managed and Unmanaged code?
- What are differences between Stack and heap?
- What is Garbage Collector in C#?
- What is Common Type System?
- What is Common Language Specification?
- What are differences between CTS and CLS?
- What are differences between Value Type and reference type?
- What are differences between Boxing and Unboxing?
- What are differences between Explicit and Implicit casting in C#?
- What are differences between Delegate and Event in C#?
- What are differences between out and in parameter modifiers in C#?
- What are differences between Thread and Task in C#?
- What are differences between String and StringBuilder in C#?
- What are differences between String and string in C#?
- What are differences between Object and object in C#?
- What are differences between int and Int32 in C#?
- Are int in C# and Integer in VB are converted into System.Int32 at MSIL level due to CTS?
- What are differences between Class and Struct in C#?
- What are differences between Abstract Class and Interface in C#?
- What are differences between Covariance, Contravariance and Invariance in C#?
- How to run multiple projects at a time in a Solution Explorer in Visual Studio?
- What are differences between Server Explorer and SQL ServerObject Explorer in Visual Studio?
- What are differences between Package Manager Console and Developer Powershell, Command Window and Immediate Window in Visual Studio? When to use which one? How to use Windows CMD inside Visual Studio?
- What is TODO Comment in Visual Studio?
- Should I change the default Exception Settings in Visual Studio( Debug> Windows > Exception Settings)? Should I uncheck the C++ Exceptions and Java Exceptions because I am not using Java or C++ in C#?
- Explain working with Breakpoints Window in Visual Studio?
- Explain working with "Choose Toolbox Items..." Window in Visual Studio?
- How can I use Breakpoints Window for conditional breakpoint in Visual Studio?
- What is meant by language independent and language integration features of .NET?
- What is default namespace of a class if no namespace is specified in source code C# file?
- What is nested namespace in C#?
- What is namespace alias in C#?
- What is purpose of namespace in C#?
- What are differences between checked and unchecked in C#?
- What are differences between Anonymous Type and Anonymous Method in C#?
- What is meant by Initializer in C#?
- What is meant by Field Initializer in C#?
- What is meant by Property Initializer in C#?
- What is difference between Object Initializer and Collection Initializer in C#?
- What are differences between Field and Property in C#?
- What is meant by Thread Safety in C#?
- What is meant by Thread Synchronization in C#?
- What is difference between lock and monitor in C#?
- What is difference between background thread and foreground thread?
- What is difference between AutoResetEvent and ManualResetEvent?
- What is meant by TPL(Task Parallel Library)?
- What is meant by Multi-core Processor?
- What is difference between Single-core Processorand Multi-core Processor in C#? Is multi-threading possible in Single-core Processor?
- What is difference between Asynchronous and Synchronous programming in C#?
- Why it is said that Task is light weight but Thread is heavy weight in C#?
- Explain Generic Delegate in C#. How to create custom Generic Delegate in C#?
- What is Stack Trace in C#?
- How to create custom exception object in C#?
- When should a class implements IDisposable in C#? Give an example in which Memory leak is possible in C#?
- Event encapsulates delegate in C#. What if Delegate is used in place of Event by a developer?
- What is use of yield keyword in C#?
- What are the reasons for introducing Interface in C# because many works done by Interface can be done by Abstract class?
- What is difference between as and is keywords in C#?
- What is use of var keyword in C#?
- What is difference between IEnumerable vs IQueryable?
- When should you implement a class by IEnumerable?
- What is difference between Shallow and Deep Copying in C#?
- What is Shadowing in C#?
- What is volatile keyword in C#?
- What is difference between delegate reference variable and delegate object?
- What are different usages of delegates in C#?
- What is meant by event in C#?
- What is meant by event handler in C#?
- What is meant by raising event in C#?
- What are conventions with event raising method?
- What are different usages of events in C#?
- What is meant by publisher and subscriber in publisher-subscriber model?
- What are different tasks of publisher class in publisher-subscriber model?
- What are different tasks of subscriber class in publisher-subscriber model?
- Object provides static Equals(), virtual Equals(), static ReferenceEquals() and virtual GetHashCode() methods for equality checking. When to use which method in C#?
- Explain about different interfaces such as IComparer, IComparer<T>, IEqualityComparer, IEqualityComparer<T>, IComparable, IComparable<T> for equality comparisons in C#?
- Explain Equality for Floating Points in C#. Why does two floating values float a = 6.000000f and float b = 6.000001f shows True value with a==b operator? What about a+b == 12.000001f ?
- Does == operator considers whether operands are value type or reference type when it checks for equality of its operands?
- What are different techniques for structural equality check for reference type e.g. class and value type e.g. struct? Can we use C# == operator here or should we rely on .NET methods or interface?
- What is issue with virtual Equals() which can be overcome using static Equals() method in C#? Explain pros and cons of both methods.
- Explain about switch case in C#?
- What is switch expression in C#?
- What is switch statement in C#?
- Give example of goto in switch statement in C#?
- What is difference between switch statement and switch expression in C#?
- When should we use Dictionary instead of switch case in C#?
- Give example of refactoring if switch case contains multiple statements in C#? The multiple statements can be replaced by a method. Explain any other technique that you use?
- How can you convert enum type into int type and vice versa in C#?
- Explain about protected internal access modifier in C#?
- Constructors have no return type in C#. Why?
- What do you mean by Initializers in C#?
- Show that Constructor initiatialization overrides initializer in C#.
- The .NET Framework defines an ICloneable interface to support the copying an object. Is it different from copy constructor? Explain.
- The keyword this refers to the current instance of an object. What are different usage of this keyword in C#?
- Static methods cannot directly access nonstatic members. Why?
- There is no access modifier (e.g., public) before the static constructor. Why?
- A common use of static member variables is to keep track of the number of instances that currently exist for your class. Explian it by code.
- Can destructor be overloaded like C# Constructors?
- Why instance of an interface is not possible using new operator like class?
- Why are all members of interface abstract by default implicitly?
- What is interface reference variable? What does it point to?
- What if a class reference variable is cast to interface type?
- What if a interface reference variable is cast to class type?
- What if a class reference variable is cast to its sub-class type?
- What if a class reference variable is cast to its super-class type?
- What if a interface reference variable is cast to its sub- interface type?
- What if a interface reference variable is cast to its super- interface type?
- What if Case1. Two classes implement same interface?
- What if Case2. Two classes - one base and another derived- implement same interface?
- What is difference between Combining Interfaces and Extending Interfaces?
- Can you declare virtual method or virtual property in Interface?
- Can you declare virtual method or virtual property in sealed class?
- Can you declare protected method in sealed class?
Write the Visual Studio shortcuts for the following activities:
- 1. Build the solution
- 2. Open the Code Snippet Manager
- 3. Comment selected code
- 4. Uncomment selected code
- 5. Uppercase the selected code
- 6. Lowercase the selected code
- 7. Wrap the code
- 8. Unwrap the code
- 9. Format the selected code
- 10. Format the document
- 11. Toggle Outline Expansion
- 12. Open Command Window
- 13. Open PMC Package Manager Console Window
- 14. Open Developer Powershell Window
- 15. Open Immediate Window
- 16. Remove unused namespaces in document
- 17. Edit Multiple Lines Text
No comments:
Post a Comment