|
|
От: |
nikov
|
http://www.linkedin.com/in/nikov |
| Дата: | 16.09.08 11:05 | ||
| Оценка: | 10 (2) | ||
using System;
class Program
{
static void Foo<T>(T x, T y)
{
Console.WriteLine(x.GetType());
Console.WriteLine(x);
Console.WriteLine(y);
}
static void Main()
{
decimal x = 0;
Foo(x = 1, x = 2);
}
}