static void Main(string[] args) { Console.WriteLine("C Sharp"); CLIWrapperClass cli = new CLIWrapperClass(); Console.WriteLine(cli.GetCLI_var()); Console.ReadLine(); cli.SetCLI_var(8); Console.WriteLine(cli.GetCLI_var()); Console.ReadLine(); cli.Print(); Console.ReadLine(); }
private void Set_Click(object sender, RoutedEventArgs e) { cli.SetCLI_var(Int32.Parse(textBox.Text)); }