Advanced .Net Interview Questions


Can static constructors use optional arguments? As MSDN says, A static constructor is called automatically to initialize the class before the first instance is created. Therefore you can't send it any parameters. If the CLR must call a static constructor how will it know which parameters to pass it? Name design patterns and principles you... Continue Reading →

Demystifying MongoDB Consistency


Continuing from the previous Post Data consistency is a big deal, so its worth taking a look at MongoDB handles consistency. In a single database scenario, if we have 2 observers A & B, and there is a document with a value X='123'. At some point A decides to update the document with say  '789'... Continue Reading →

Table Variables


http://odetocode.com/articles/365.aspx Microsoft introduced table variables with SQL Server 2000 as an alternative to using temporary tables. In many cases a table variable can outperform a solution using a temporary table, although we will need to review the strengths and weaknesses of each in this article.Table variables store a set of records, so naturally the declaration... Continue Reading →

ASP.net Interview questions


Q) In what order do the events of an ASPX page execute. As a developer is it important to undertsand these events?  INIT, PageLoad, Prerender , UNload. Q) In which event are the controls fully loaded?  Page load event guarantees that all controls are fully loaded. Controls are also accessed in Page_Init events but you will see that view... Continue Reading →

c# Interview Questions


What’s the difference between the Debug class and Trace class? Documentation looks the same.  Use Debug class for debug builds, use Trace class for both debug and release builds. Can you declare an override method to be static if the original method is not static? No.  The signature of the virtual method must remain the same.  (Note:... Continue Reading →

Website Powered by WordPress.com.

Up ↑

%d bloggers like this: