a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
22 lines
218 B
C#
22 lines
218 B
C#
using System;
|
|
|
|
struct X {
|
|
static public implicit operator string (X x)
|
|
{
|
|
return "x";
|
|
}
|
|
|
|
}
|
|
|
|
class Test {
|
|
|
|
public static int Main ()
|
|
{
|
|
X x = new X ();
|
|
Console.WriteLine (x);
|
|
|
|
return 0;
|
|
}
|
|
}
|
|
|