Added sample code for generic exploration to C# file