Commonly asked c# interview questions and answers

Top 100 C#/ .NET/ Web API/ SQL Interview Questions

42. How we can create an array with non-default values?

We can create an array with non-default values using Enumerable.Repeat.

C# Basic Interview Questions for Freshers

C# is an object-oriented, type-safe, and managed language that is compiled by .Net framework to generate Microsoft Intermediate Language.

26. What is the difference between Finalize() and Dispose() methods?

Dispose() is called when we want for an object to release any unmanaged resources with them. On the other hand, Finalize() is used for the same purpose, but it doesn’t assure the garbage collection of an object.

Circular reference is situation in which two or more resources are interdependent on each other causes the lock condition and make the resources unusable.

Related Posts

Leave a Reply

Your email address will not be published.