本文整理汇总了C#中Class1.class1Test1方法的典型用法代码示例。如果您正苦于以下问题:C# Class1.class1Test1方法的具体用法?C# Class1.class1Test1怎么用?C# Class1.class1Test1使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Class1
的用法示例。
在下文中一共展示了Class1.class1Test1方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Main
//.........这里部分代码省略.........
val = enumCheck((int)Class1.Enum12.Val3, val);
val = enumCheck((int)Class1.Enum12.Val4, val);
val = enumCheck((int)Class1.Enum12.Val5c, 1121);
val = enumCheck((int)Class1.Enum12.Val6c, val);
val = 0;
val = enumCheck((int)Class1.Enum13.Val1, 1131);
val = enumCheck((int)Class1.Enum13.Val2, 1132);
val = enumCheck((int)Class1.Enum13.Val3, val);
val = enumCheck((int)Class1.Enum13.Val4, val);
val = enumCheck((int)Class1.Enum13.Val5d, 1131);
val = enumCheck((int)Class1.Enum13.Val6d, val);
val = 0;
val = enumCheck((int)Class1.Enum14.Val1, 1141);
val = enumCheck((int)Class1.Enum14.Val2, 1142);
val = enumCheck((int)Class1.Enum14.Val3, val);
val = enumCheck((int)Class1.Enum14.Val4, val);
val = enumCheck((int)Class1.Enum14.Val5e, 1141);
val = enumCheck((int)Class1.Enum14.Val6e, val);
val = 0;
val = enumCheck((int)Class1.Struct1.Enum12.Val1, 3121);
val = enumCheck((int)Class1.Struct1.Enum12.Val2, 3122);
val = enumCheck((int)Class1.Struct1.Enum12.Val3, val);
val = enumCheck((int)Class1.Struct1.Enum12.Val4, val);
val = enumCheck((int)Class1.Struct1.Enum12.Val5f, 3121);
val = enumCheck((int)Class1.Struct1.Enum12.Val6f, val);
val = 0;
val = enumCheck((int)Class1.Struct1.Enum13.Val1, 3131);
val = enumCheck((int)Class1.Struct1.Enum13.Val2, 3132);
val = enumCheck((int)Class1.Struct1.Enum13.Val3, val);
val = enumCheck((int)Class1.Struct1.Enum13.Val4, val);
val = 0;
val = enumCheck((int)Class1.Struct1.Enum14.Val1, 3141);
val = enumCheck((int)Class1.Struct1.Enum14.Val2, 3142);
val = enumCheck((int)Class1.Struct1.Enum14.Val3, val);
val = enumCheck((int)Class1.Struct1.Enum14.Val4, val);
val = enumCheck((int)Class1.Struct1.Enum14.Val5g, 3141);
val = enumCheck((int)Class1.Struct1.Enum14.Val6g, val);
val = 0;
val = enumCheck((int)Class2.Enum12.Val1, 2121);
val = enumCheck((int)Class2.Enum12.Val2, 2122);
val = enumCheck((int)Class2.Enum12.Val3, val);
val = enumCheck((int)Class2.Enum12.Val4, val);
val = enumCheck((int)Class2.Enum12.Val5h, 2121);
val = enumCheck((int)Class2.Enum12.Val6h, val);
val = 0;
val = enumCheck((int)Class2.Enum13.Val1, 2131);
val = enumCheck((int)Class2.Enum13.Val2, 2132);
val = enumCheck((int)Class2.Enum13.Val3, val);
val = enumCheck((int)Class2.Enum13.Val4, val);
val = enumCheck((int)Class2.Enum13.Val5i, 2131);
val = enumCheck((int)Class2.Enum13.Val6i, val);
val = 0;
val = enumCheck((int)Class2.Enum14.Val1, 2141);
val = enumCheck((int)Class2.Enum14.Val2, 2142);
val = enumCheck((int)Class2.Enum14.Val3, val);
val = enumCheck((int)Class2.Enum14.Val4, val);
val = enumCheck((int)Class2.Enum14.Val5j, 2141);
val = enumCheck((int)Class2.Enum14.Val6j, val);
val = 0;
val = enumCheck((int)Class2.Struct1.Enum12.Val1, 4121);
val = enumCheck((int)Class2.Struct1.Enum12.Val2, 4122);
val = enumCheck((int)Class2.Struct1.Enum12.Val3, val);
val = enumCheck((int)Class2.Struct1.Enum12.Val4, val);
val = enumCheck((int)Class2.Struct1.Enum12.Val5k, 4121);
val = enumCheck((int)Class2.Struct1.Enum12.Val6k, val);
val = 0;
val = enumCheck((int)Class2.Struct1.Enum13.Val1, 4131);
val = enumCheck((int)Class2.Struct1.Enum13.Val2, 4132);
val = enumCheck((int)Class2.Struct1.Enum13.Val3, val);
val = enumCheck((int)Class2.Struct1.Enum13.Val4, val);
val = enumCheck((int)Class2.Struct1.Enum13.Val5l, 4131);
val = enumCheck((int)Class2.Struct1.Enum13.Val6l, val);
val = 0;
val = enumCheck((int)Class2.Struct1.Enum14.Val1, 4141);
val = enumCheck((int)Class2.Struct1.Enum14.Val2, 4142);
val = enumCheck((int)Class2.Struct1.Enum14.Val3, val);
val = enumCheck((int)Class2.Struct1.Enum14.Val4, val);
val = enumCheck((int)Class2.Struct1.Enum14.Val5m, 4141);
val = enumCheck((int)Class2.Struct1.Enum14.Val6m, val);
Class1 class1 = new Class1();
enumCheck((int)class1.class1Test1(Enum1.Val5a), 13);
enumCheck((int)class1.class1Test2(Class1.Enum12.Val5c), 1121);
enumCheck((int)class1.class1Test3(Class1.Struct1.Enum12.Val5f), 3121);
enumCheck((int)cpp11_strongly_typed_enumerations.globalTest1(Enum1.Val5a), 13);
enumCheck((int)cpp11_strongly_typed_enumerations.globalTest2(Class1.Enum12.Val5c), 1121);
enumCheck((int)cpp11_strongly_typed_enumerations.globalTest3(Class1.Struct1.Enum12.Val5f), 3121);
}