C# homework02, by LuYuan
- The solution contains 5 projects, which were named as "homework02a" to "homework02e", representing the homework 1 to 5
- The default startup project is "homework02a". If you want to execute other projects, remember to change the startup project
- The implemetation is detailed in annotation of each project
- use method Print() to print "hello world"
- use method PrintWithCommandLine(String, String) to print "hello world" and the arguments of command line
- With compiler of VS, the default arguments are "argument01" and "argument02" . With command line, the number of arguments is 2, or the terminal would print "error, the number of arguments of command line should be 2."
- result screencut (by vs compiler)
- result screencut (by command line)
- use static method Print() to print "hello world"
- use static method PrinrintWithCommandLine(String, String) to print "hello world" and the arguments of command line
- With compiler of VS, the default arguments are "argument01" and "argument02" . With command line, the number of arguments is 2, or the terminal would print "error, the number of arguments of command line should be 2."
- result screencut (by vs compiler)
- result screencut (by command line)
- create a button "Hello"
- if you click button "Hello", the screen will print "hello world"
- add some annotation to MainWindow.xaml and MainWindow.xaml.cs
- add a button "HelloWithArgs", if you click this button, the screen will print "hello world" and the arguments of command line
- the default arguments are "argument01" and "argument02"
- result screencut (by vs compiler)
- result screencut (by command line)
- add a button "button1"
- if you click this button, the screen will print "hello world"