Added samples for .Net 4 and .Net 2