Tag Archives: Back To Basic
Back to Basics – What is the difference between Ref and Out Keyword in C#?
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#?
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()
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 »
How to Copy Specific Code Metrics Results in Visual Studio ?
Back to Basic : Displaying detailed output of MSBuild in Visual Studio output Window
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 ?
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
“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 »
- 1
- 2