05 2019 档案

摘要:int[] arry_new = { 3, 5, 9, 8, 10, 5, 3 }; HashSet<int> set = new HashSet<int>(); foreach (int i in arry_new) { set.Add(i); } int[] at = set.ToArray() 阅读全文
posted @ 2019-05-27 14:54 有意思7 阅读(822) 评论(0) 推荐(0) 编辑
摘要:1 static void Main(string[] args) 2 { 3 int a = Convert.ToInt32(Console.ReadLine()); 4 5 //求第n位数字是多少 6 Console.WriteLine(F1(a)); 7 8 ... 阅读全文
posted @ 2019-05-27 09:29 有意思7 阅读(1720) 评论(0) 推荐(0) 编辑
摘要:string str = "abcdef 安安安"; int i = str.Length; byte[] bt = System.Text.Encoding.Default.GetBytes(str); int j = bt.Length; Console.WriteLine($"i={i},j= 阅读全文
posted @ 2019-05-23 22:43 有意思7 阅读(1707) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示