摘要:
1、分析:第一个0,第二个1,后面为前两个相加。 2、代码 static int Fibonacci(int n) { var a = 0; var b = 1; var c = 0; for (var i = 0; i < n -1 ; i++) { c = a + b; a = b; b = c 阅读全文
摘要:
1、建表 ID uniqueidentifier Unchecked Name nvarchar(64) Unchecked Subject nvarchar(64) Unchecked Score int Unchecked 2、数据 insert into AAA_Test values(NEW 阅读全文
摘要:
1、交换列 create table AAA_Test1 ( A int null, B int null, ); insert into AAA_Test1 values(1,2); select * from AAA_Test1 update AAA_Test1 set A=B,B=A; 不需要 阅读全文
摘要:
using HRS.Lib.Comm.Logging; using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using S 阅读全文