In recent few interviews there was a scenario that interviewer asked me to remove duplicate records from SQL Server table. For example: There is a table with 3 columns (COL1, COL2, COL3), having duplicate data stored like below screen shot of the table. If you can carefully look at the records you can find that… Continue reading
Static Constructors, Life time and Use
It’s a quick article. In a technial interview, panel has asked me about the static constructors and how and when static constructors will be called etc. He wrote a program to extract more idea from me through. I recreated the program to explain about it. Before going further I will fill in details about STATIC constructors. A static… Continue reading
Inheriting two interface with same method signature in a Class (C#)
In my interview on a IT Services & Consulting Company, the interviewer has asked about the following situation of inheritence. At first i couldn’t recollect it. But after coming back in my home, i have tried it out. The scenario was there are two interfaces IWheel and IMeters with same method signature declared inside it,… Continue reading
Stack & Heap (Storage of Value Types and Reference Types)
As i have informed in my previous article, In an IT Services compnay interviewer has asked me about the Difference between value types and reference types in .NET. I have conveyed that Value Types are stored in “Stack” (Datastructure for Memory Management Technique) and Reference Types are stored in “Heap”. He immediately asked me why… Continue reading
Reverse an Integer Value in C# (Used No Built in Functions)
Today i have attened an IT Services Company interview, where i was been asked to write the code for Reverse an Integer Value in C# with out using any Built In functions. Here is the code i formulated in my mind. Go through it. [code lang=”c-sharp”] using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace… Continue reading
.NET Remoting and Protocol support.
In the technical interview the interview panel asked me about the .NET Remoting supported protocols. Even though i have worked few applications myself in 2,3 year back i was not been able to recollect everything. So i said hey it will support only “TCP” right, i think they might have stunned about my deepness about the… Continue reading