Main C# Program Script