摘要:
任务→分离→确定 在这个位置可以找到分离后的数据库 C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\DATA 执行的sql 如下 USE [master]GOEXEC master.dbo.sp_detach_db @d 阅读全文
摘要:
static void Main(string[] args) { Regex reg = new Regex("the"); string str = "today the ,the"; Match matchSet; matchSet = reg.Match(str); if (matchSet 阅读全文
摘要:
参考 https://www.cnblogs.com/kakakade/p/4562467.html https://www.cnblogs.com/tonysuen/archive/2010/03/04/1678447.html Length IndexOf Substring() split j 阅读全文
摘要:
素数 class Program { public static void GenPrimes(int[] arr) { bool flag = true; for (int i = 2; i < arr.Length; i++) { for (int j = i+1; j < arr.Length 阅读全文
摘要:
class Program { enum DigitType { ones=1,tens=10} static void DisplayArray(int[] n) { for (int i = 0; i <= n.GetUpperBound(0); i++) { Console.Write(n[i 阅读全文
摘要:
[Serializable] [ComVisible(true)] [DebuggerDisplay("Count = {Count}")] [DebuggerTypeProxy(typeof(Stack.StackDebugView))] public class Stack : ICollect 阅读全文
摘要:
#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); 阅读全文
摘要:
class Program { static void Main(string[] args) { int[] arr=new int[10]; Random rnd = new Random(100); for (int i = 0; i <arr.Length; i++) { arr.SetVa 阅读全文
摘要:
mscorlib.dll namespace System [Serializable][ComVisible(true)]public abstract class Array : ICloneable, IList, ICollection, IEnumerable, IStructuralCo 阅读全文