My C#Code