Tag Archives: Back To Basic

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 »

Back To Basics – Can we use both C# and VB Project within a single Visual Studio Solution ?

By | May 27, 2015

This is one of my favorite question during interview as a part of .NET Framework fundamental, and I generally received very mixed response. Can we have both c# and visual basic project in same solution ?.  The response  I used to received “No, it is not possible”, “Yes. we can do it for web project” etc. This question comes… Read More »

Back to Basics – Calling base class constructor from derived class in C#

By | May 13, 2015

How to call base class constructor from derived class ?  Another frequently  asked question in interview for the beginners, and I have seen confusion around answering this. Let’s have a quick understanding on this. If we derive a class from a base class and want to pass data from the derived class constructor to the constructor of the… Read More »

Back to Basic – Events in C#

By | May 7, 2015

In order to understand Events, let’s first understand what Publisher Subscriber model is: According to the Wikipedia publisher subscriber model is a messaging pattern where senders of messages, called publishers, do not program the messages to be sent directly to specific receivers, called subscribers. Instead, published messages without knowledge of what, if any, subscribers there may be. Similarly, subscribers express interest in… Read More »

Back To Basics – Delegate in C#

By | May 6, 2015

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 and Subtract, which… Read More »

Using or Using ?

By | September 6, 2013

The title of this post is confusing enough! Really ? nevertheless to say, you are smart enough to guess on what we are going to talk about. One of the frequent question that comes in the .NET interview is “What is the difference between Using Directives and Using Statement ?” Sometimes the interviewers puts some extra trap by asking… Read More »