Tag Archives: Back To Basic

Back to Basics – What is the difference between Ref and Out Keyword in C#?

By | November 17, 2017

Continuing with the Back to Basics series, here is another common and frequently asked question. What is the difference between Ref & Out C#? or When should we use ref over out? We used it often, and we know both ref and out parameters are used to pass arguments within methods. Though it’s a very common question, I… Read More »

Back to Basics – What is the difference between const and readonly in C#?

By | November 6, 2017

Continuing with the Back to Basics series, here is another common and quite confusing question. What is read-only and constant variable? How do they differ? When should we use constant over Read-only? const and readonly, are very common keywords and are quite confusing when you placed them with each other. Let’s try to get into it and understand… Read More »

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

By | January 16, 2016

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() methods is used… Read More »

Back to Basic : Displaying detailed output of MSBuild in Visual Studio output Window

By | November 26, 2015

I have received this question as a follow-up from one of my pervious post Back to Basic – Building Solutions in Visual Studio – Build Vs. Rebuild . There I explained the details of different types of build and how things works under the hood, and shows how you can view the detail inside output window.  Question was how we… Read More »

How to identify the project dependencies in Visual Studio ?

By | November 25, 2015

In the previous post you have seen the difference between Build and Rebuild solution in Visual Studio and how things works under the hood. In the last section of the post we also talked about the project dependencies and the build order of the projects; which is dependent on project dependencies.  In this post lets have a quick… Read More »

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

By | November 24, 2015

“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 to use them?  Though… Read More »

Back to Basic : Difference between Start Debugging & Start without Debugging in Visual Studio

By | November 23, 2015

In this post we are going to talk about yet another very basic, simple topic but seems confusing among many beginners – ‘Start Debugging  (F5) ’ vs. ‘Start without Debugging (Ctrl + F5)’.  In Visual Studio, we have seen these two menu items one after other under the Debug menu. There are lot of confusion around ‘when to use… Read More »