Advertisement
Guest User

init

a guest
Nov 18th, 2019
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. Window window1 = new Window(); // calls default constructor, Title = "Window1"
  2. Window window2 = new Window("Window2"); // calls parameterised constructor, Title = "Window2"
  3. 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