摘要: void M(object o1, object o2) { var t = (o1, o2); if (t is (int, string)) {} // test if o1 is an int and o2 is a string switch (o1) { case int: break; 阅读全文
posted @ 2023-04-13 16:28 Tammytan 阅读(36) 评论(0) 推荐(0) 编辑