mirror of
https://github.com/Smaug123/WoofWare.PawPrint
synced 2025-10-08 15:38:41 +00:00
20 lines
332 B
C#
20 lines
332 B
C#
public class Program
|
|
{
|
|
public struct TestStruct
|
|
{
|
|
public int Value;
|
|
|
|
public TestStruct(ref int x)
|
|
{
|
|
Value = x;
|
|
}
|
|
}
|
|
|
|
public static int Main(string[] args)
|
|
{
|
|
int localVar = 42;
|
|
TestStruct t = new TestStruct(ref localVar);
|
|
return t.Value;
|
|
}
|
|
}
|