Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Color c = default; // or: c = default(Color); no difference
- Debug.Print($"{c.Equals(default(Color))}"); // true
- Debug.Print($"{c.Equals(default)}"); // false WHY?!
- (string s, int i) t = default;
- Debug.Print($"{t.Equals(default((string, int)))}"); // true
- Debug.Print($"{t.Equals(default)}"); // true
Add Comment
Please, Sign In to add comment