|
|
От: | belkobot | |
| Дата: | 09.01.10 21:28 | ||
| Оценка: | |||
class Generics<Type1>
{
public Type1 mVar1;
public int Get()
{
if (mVar1 is int)
{
return mVar1; // Cannot implicitly convert type 'Type1' to 'int'....
}
}
}