Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private static void DoSomething(this MyCustomDialog dialog) {
- // And `this` would refer to `dialog`
- this.label1.Text = "Hello, World!";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement