Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Window window1 = new Window(); // calls default constructor, Title = "Window1"
- Window window2 = new Window("Window2"); // calls parameterised constructor, Title = "Window2"
- Window window3 = new Window() {Title = "Window3"}; // calls default constructor with Property initialisation, Title = "Window3" i think
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement