摘要:
#region 查找 public static bool SeqSearch(int[] arr, int value) { for (int i = 0; i < arr.Length; i++) { if (arr[i] == value) { return true; } } return 阅读全文
摘要:
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); 阅读全文