Tag Archives: interview

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’ […]
Read More »

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 […]
Read More »

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: […]
Read More »

C# Collections vs generic collections