摘要:
public void GetLength() { string str = "abc123中文汉字"; Console.WriteLine(str); int i = System.Text.Encoding.Default.GetBytes(str).Length; int j = str.Le 阅读全文
posted @ 2020-12-22 11:19
sportdog
阅读(91)
评论(0)
推荐(0)
摘要:
public class Test2A { int i = 1; public virtual void M1() { Console.WriteLine("i am A"); } public void M2() { Console.WriteLine("i = {0}",i); } } publ 阅读全文
posted @ 2020-12-22 11:17
sportdog
阅读(84)
评论(0)
推荐(0)
浙公网安备 33010602011771号