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;
|
||
|
}
|
||
|
}
|
||
|
|