static private PrintInt32s ( object x ) : void | ||
x | object | |
Результат | void |
static void PrintInt32s(object x)
{
if (x is int i)
{
Console.WriteLine($"Got an Int32: {i}");
}
}