You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public struct TestStruct
{
public int id;
public override string ToString()
{
return id.ToString();
}
}
public static void TestMethodDefaultStructValue()
{
PrintValue(100);
}
public static void PrintValue(int a, TestStruct b = default(TestStruct))
{
Console.WriteLine("a = " + a + ", b = " + b.ToString());
}
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: