a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
22 lines
299 B
C#
22 lines
299 B
C#
using System;
|
|
|
|
namespace ConsoleApplication1
|
|
{
|
|
class Program
|
|
{
|
|
public static void Main ()
|
|
{
|
|
object o = new object ();
|
|
Inner<object>.Compare (o, o);
|
|
}
|
|
}
|
|
|
|
public class Inner<T> where T : class
|
|
{
|
|
public static void Compare (object obj, T value)
|
|
{
|
|
if (obj != value) { }
|
|
}
|
|
}
|
|
}
|