mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 19:10:23 -10:00
19 lines
242 B
C#
19 lines
242 B
C#
class MyString
|
|
{
|
|
public static implicit operator string (MyString s)
|
|
{
|
|
return "ggtt";
|
|
}
|
|
}
|
|
|
|
public class Test
|
|
{
|
|
public static int Main ()
|
|
{
|
|
var v = new [] { new MyString (), "a" };
|
|
if (v [0] != "ggtt")
|
|
return 1;
|
|
return 0;
|
|
}
|
|
}
|