Created
September 4, 2023 15:07
-
-
Save jskeet/c5a4a1d2ecc1d3493bcbe2cc1ac6a03c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
struct Point | |
{ | |
public int x; | |
public int y; | |
} | |
class Test | |
{ | |
static void Main() | |
{ | |
Point p; | |
p.x = 10; | |
Console.WriteLine(p.y); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment