f3e3aab35a
Former-commit-id: 9c2cb47f45fa221e661ab616387c9cda183f283d
11 lines
199 B
C#
11 lines
199 B
C#
// CS0403: Cannot convert null to the type parameter `T' because it could be a value type. Consider using `default (T)' instead
|
|
// Line: 8
|
|
|
|
class Test<T>
|
|
{
|
|
public T Null ()
|
|
{
|
|
return (null);
|
|
}
|
|
}
|