上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 24 下一页
摘要: 1 就是一行代码的事情,代表了一个逻辑。一个逻辑的理解。 赋值变量u,等于1. 循环条件 变量小于9, 变量自增。 自增到大于9时,停止循环。程序结束。 for(int u=1;u<9;u++) { Console.WriteLine("for循环练习程序{0}",u); } 效果: 阅读全文
posted @ 2021-10-05 11:22 优敏行 阅读(70) 评论(0) 推荐(0)
摘要: #region for循环 for(int i =0; i<10;i++) { Console.WriteLine("for循环基础语法程序{0}",i); } #endregion 效果; 阅读全文
posted @ 2021-10-04 16:00 优敏行 阅读(51) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="wi 阅读全文
posted @ 2021-10-03 20:39 优敏行 阅读(41) 评论(0) 推荐(0)
摘要: using System; using System.Linq; namespace ConsoleIf { class Program { static void Main(string[] args) { // Console.WriteLine("Hello World!"); // 1 需求 阅读全文
posted @ 2021-10-03 12:28 优敏行 阅读(361) 评论(0) 推荐(0)
摘要: -- 创建角色表 create table Sys_Role( ID int identity(1,1), Name nvarchar(20) not null, SortValue int not null, ActionType varchar(200) null, IsSys bit not 阅读全文
posted @ 2021-10-02 20:03 优敏行 阅读(30) 评论(0) 推荐(0)
摘要: 您会写程序了,就要干这行的了!真的,相对没有那么难写的了。 不过,基础程序还是要多写,然后还是前后端的连接起来去写的。 因为您想要有上海表哥的现实节奏,如何才能有? 只能是人家独立做的节奏,独立业务的积累,才有的将来。否则将来如何来? 来了也不过,可能最多就是一个普通打工人而已,真的,非常现实的事情 阅读全文
posted @ 2021-10-01 21:34 优敏行 阅读(39) 评论(0) 推荐(0)
摘要: 扩展训练: 1 同样的程序,可以用继承的方式去写这个代码,用继承的方式,如何写出来 this 代码? #region 变量程序练习 买票排号程序 string name; // 乘客姓名 int age;// 年龄的变量定义 int price;// 票价 string sex;//性别 strin 阅读全文
posted @ 2021-10-01 20:45 优敏行 阅读(53) 评论(0) 推荐(0)
摘要: using System; using System.Linq; namespace ConsoleTest1 { class Program { static void Main(string[] args) { //Console.WriteLine("Hello World!"); Conso 阅读全文
posted @ 2021-09-30 11:48 优敏行 阅读(26) 评论(0) 推荐(0)
摘要: 相对简单的变量程序使用,与代码练习 #region 饭馆菜单程序 // 练习程序. 点菜人,客户。客户点菜的菜名字。3个不同的客户,点菜的菜名记录程序。 Console.WriteLine("*****饭馆菜单程序*******"); string customername; string gree 阅读全文
posted @ 2021-09-27 21:43 优敏行 阅读(71) 评论(0) 推荐(0)
摘要: 1 可以把年写死,定义一个变量。 写个3-5年的变量定义。年的数据就写死了。 然后去写月,月是12个月,这是死数了。 就是日子,日子一个月多少天也基本就28.30.31天3个数据的。 using System; namespace ConsoleYear { class Program { stat 阅读全文
posted @ 2021-09-26 22:44 优敏行 阅读(132) 评论(0) 推荐(0)
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 24 下一页