Updated all samples for both C# and VB.NET