6992685b86
Former-commit-id: 0a113cb3a6feb7873f632839b1307cc6033cd595
31 lines
422 B
C#
31 lines
422 B
C#
using System;
|
|
|
|
class MainClass
|
|
{
|
|
public static int Main ()
|
|
{
|
|
DataFrame df1 = new DataFrame ();
|
|
DataFrame df2 = new DataFrame ();
|
|
|
|
if (df1 != null)
|
|
{
|
|
return 1;
|
|
}
|
|
|
|
return 0;
|
|
}
|
|
|
|
public class DataFrame
|
|
{
|
|
public static bool operator ==(DataFrame df1, DataFrame df2)
|
|
{
|
|
return df1 is DataFrame;
|
|
}
|
|
|
|
public static bool operator !=(DataFrame df1, DataFrame df2)
|
|
{
|
|
return !(df1 == df2);
|
|
}
|
|
}
|
|
}
|