- 博客(2)
- 收藏
- 关注
转载 C#自动生成id
Guid.NewGuid().ToString() : 1f13a943-4c7e-4bfc-aac5-935886591424 Guid.NewGuid().ToString("N"): 3a81013f9ee549b38f11ee3d50f5bd78 Guid.NewGuid().ToString("D"): c4219375-c2c8-4639-86e8-8d910ed12186 -...
2020-04-22 10:02:13
1489
翻译 c#中如何判断是否为回文数
Console.WriteLine(“请输入一段字符”); string c = Console.ReadLine(); //数组的索引是从0开始的,所以长度减去一 //这个是获取总的索引长度的 int len = c.Length - 1; //第一个数 int x; //最后一个数 int y; for (x = 0, y = len - x; x <= (len + 1) / 2; +...
2019-06-04 22:36:05
4551
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人