Interview Questions Archive

What are some mind blowing C programs?

Hello Readers, You may have played around a lot using C language during your college days in labs. Let’s dive back to those days and check out few of those. Below are some of the mind blowing C programs: This program will print 1 to 100 without using any loop and recursion. Print hello without using

Difference between String and StringBuilder in C#

Difference between String and StringBuilder in C# Hello Readers, With the help of this post, I will try to explain the difference between String and StringBuilder in c#. It’s a common interview questions for c#, asp.net developers as well. String String is immutable. Which means once we create string object we cannot modify it.  When we

Difference between String and string in C#

Difference between String and string in C# Hello Readers, In this post, I will explain about the Difference between String and string in C# with help of simple code snippet or one liner code. Actually, string is an alias in C# for System.String. So technically, there is no difference. It’s like int versus System.Int32. But int automatically

What does atomic mean in C#?

What does atomic mean in C#? Hello Readers, Atomic means that an operation is done without the chance for another thread to come in and do something in the middle of it. Explanation with Example Let’s say you have a program with two threads that can both access myClass.Counter. The first thread just loops over

Why can’t an object of abstract class be created?

Why can’t an object of abstract class be created? Hello Reader, Many developers already know that it is not possible to create an object of abstract class. However, have you ever wondered why? Why can’t an object of abstract class be created? Let’s find out the reason together. I will first explain a bit about

How To Become An ASP.NET Developer?

How To Become An ASP.NET Developer? Many of the freshers (graduates) come up with this query of becoming an ASP.NET Developer. Microsoft.NET is immense and they (freshers) often get confused about how to become an ASP.NET developer? So, just thought of publishing a post which may help someone to become asp.net developer and prosper in his/her career. Let me

Difference between varchar and varchar(max)

Difference between varchar and varchar(max) Hello Readers, The purpose of this post is to make it clear what to use and when with respect to varchar data type in SQL Server. Varchar(max) was introduced in SQL Server 2005 version. Few years back, I wasn’t clear about the Difference between varchar and varcharmax. It was always confusing for me

Reverse each word in a string using c#

Reverse each word in a string using c# Howdy Reader, In this post we will discuss how to reverse each word in a string using c#. String to be reversed: DS tech blog Output or the reversed string: SD hcet golb Our Logic in CSharp (C#): [crayon-5926ea21d581d701857229/] Remember to include the below using statements: [crayon-5926ea21d5823201773066/]

Difference between build rebuild and clean in visual studio

Difference between build rebuild and clean in visual studio Howdy Reader, I have encountered this topic many a times among freshers and a couple of year’s experienced professionals as well. Some programmers have made this a habit of doing clean + build every time they change code without knowing the significance of it. Some of them