<!--打赏 End-->
摘要: #region 查找 public static bool SeqSearch(int[] arr, int value) { for (int i = 0; i < arr.Length; i++) { if (arr[i] == value) { return true; } } return 阅读全文
posted @ 2017-11-15 06:54 mikefts 阅读(135) 评论(0) 推荐(0) 编辑
摘要: static void Main(string[] args) { int a = 20; int b = 30; int c; SwapMethod(ref a, ref b); Console.WriteLine(" After Swap a is {0},b is {1} ", a, b); 阅读全文
posted @ 2017-11-15 06:21 mikefts 阅读(110) 评论(0) 推荐(0) 编辑