C#
. Explain the difference between abstract classes and interfaces . Answer: Abstract classes can have both abstract and implemented members, support fields, and constructors. Interfaces can only declare methods, properties, events, and indexers without implementation (prior to C# 8.0). Starting with C# 8.0, interfaces can have default implementations. b. What is the purpose of the using statement in C#? Answer: The using statement ensures that IDisposable objects are disposed of correctly, releasing unmanaged resources deterministically. c. How does garbage collection work in .NET? Answer: The garbage collector automatically manages memory by reclaiming memory occupied by objects that are no longer referenced in the application, reducing memory leaks and optimizing resource usage. d. Explain the concept of async and await . Answer: async marks a method as asynchronous, allowing it to run with...