Tested all sample code (C# and VB.NET)