Some Sample C# Codes