Tag Archives: FAQ



Back to Basics : Difference Between int.Parse() and int.TryParse()

What is the difference between int.Parse() and int.TryParse() ? Or how the int.parse() is differ from int.TryParse() ? – yet another frequently  asked question in interview for the beginners, and I have seen confusion while answering this.  Let’s try to understand using simple example. To answer this in a sort way, the int.Parse() and int.TryPrase() […]

Back to Basics – Building Solutions in Visual Studio – Build Vs. Rebuild

“Build Solution” and “Rebuild Solution” are the most commonly used features in Visual Studio.  As a developer you writes code, build the solution and run the application in Visual Studio.  Very often you also used “rebuild solution” , or “clean and then build solution”.  Have you ever wonder why there are different options ? When […]

Back to Basics – string Vs. String in C#

One of the frequent question that comes during the .NET interview is “What is the difference between string and String?” . This one is a very simple question but can make you confused during the interview. So, let’s try to recall and check what exactly they are. To answer this question in a short, The two […]

Back To Basics – Delegate in C#

A delegate person is someone who represent an organization or set of people. In C# world a delegate is a reference type variable that represent one or set of methods by holding there reference. Note: The reference can be changed at runtime.  So let’s first understand what it meant. Let’s have a class called BasicMaths having two methods Add […]

Benefit of Using in Dispose for .NET objects (Why and When ?)

Well, while being in touch with a number of developers, I always find people don’t understand the real meaning of disposing objects. Lets clear our basic understanding on why we need to dispose objects in .NET before understanding the usefulness of Using block. Why Disposing is necessary ?  We all know, the code that we […]