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 […]
Read more โSearch Results for: name
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 […]
Read more โ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, […]
Read more โ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. Results Kudos!!! I hope it will defenitly be useful to some […]
Read more โSOAP – Protocol or Message Exchange Pattern
In a recent interview I have been asked What is SOAP? Is it a Protocol or Message Pattern. It’s stupid that i was confused by the question and simply said “Message Exchange Pattern”, to my knowledge As the name states it’s a Protocol. Message Exchange Pattern(MEP) is part of a SOAP, where the description of […]
Read more โDynamically Changing ASP.NET Content Page’s Master Page in runtime.
It was been quite confusion for people, how we can apply a master page for a content page dynamically on it’s run time. It’s quite easy the content pages OnPreInit() event you could do that. In the Onpreinit() event set the Page.MasterPageFile property with the name of the master page you want to use/apply for […]
Read more โ