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. […]
Conditional Breakpoint in Visual Studio is a great way to optimize the debugging time and pause the execution only when the condition satisfied. Along with the normal condition with in conditional breakpoint in visual studio, we can call a methods from the condition field and based on the return value debugger will stop at the […]
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 […]
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 […]
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 […]
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 […]
Visual Studio 2015 helps you quickly build connected cloud application using “Add Connected Services” feature. We all are familiar with adding Project Reference, adding Services References from the Solution Explorer for any specific project. Add Connected Services is something new that you will experienced in Visual Studio 2015.
If you are playing around multiple files in Visual Studio Code, and wondering how to navigate back to the previous files, there is a simple way. Visual Studio Code allows us to check the history of navigated files in Navigation History lists. You can open this window from “Goto–> Navigation History” or by just simply […]