随笔分类 - C# 练习题
1
摘要:界面设计: 拖动timer控件进来 设置拖进来的timer控件的Tick事件 具体代码如下:
阅读全文
摘要:18身份证号码的结构 公民身份号码是特征组合码,由十七位数字本体码和一位校验码组成。 排列顺序从左至右依次为:六位数字地址码,八位数字出生日期码,三位数字顺序码和一位校验码。1、地址码 表示编码对象常住户口所在县(市、旗、区)的行政区域划分代码,按GB/T2260的规定执行。2、出生日期码 ...
阅读全文
摘要:1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace ConsoleA...
阅读全文
摘要:窗体设计:代码: 1 using System; 2 using System.Collections.Generic; 3 using System.ComponentModel; 4 using System.Data; 5 using System.Drawing; 6 using Syste...
阅读全文
摘要:1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace ConsoleA...
阅读全文
摘要:1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace ConsoleA...
阅读全文
摘要:1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace ConsoleA...
阅读全文
摘要:1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace ConsoleA...
阅读全文
摘要:1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace ConsoleA...
阅读全文
摘要:1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace ConsoleA...
阅读全文
摘要:1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace ConsoleA...
阅读全文
摘要:编写一个窗体应用程序,计算n的阶乘,显示其结果,同时,将结果显示在一个标签中。新建窗体应用程序(如下),新建控件label1,label2,label3,textBOX1,button1,button2label1的Text属性改为“计算阶乘演示”label2的Text属性改为“请输入需要的阶乘数”...
阅读全文
摘要:新建窗体应用程序(如下),新建控件label1,label2,label3,textBOX1,button1,button2label1的Text属性改为“计算闰年演示”label2的Text属性改为“输入年份”button1的Text属性改为“确定”button1的Text属性改为“退出”完整代码...
阅读全文
摘要:新建窗体应用程序(如下),新建控件label1,label2,label3,label4,label5,textBOX1,textBOX2,button1,button2label1的Text属性改为“随机数演示”label2的Text属性改为“最大值”label3的Text属性改为“最小值”lab...
阅读全文
摘要:1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace 骑...
阅读全文
摘要:1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace 骑...
阅读全文
摘要:1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace 骑...
阅读全文
摘要:比较两个数的大小,自定义比较两个整数的大小的方法:如果第一个数大,返回1如果相等返回0如果第一个数小,返回-1在Main()方法中输入两个数,调用这个方法示例: 请输入两个数: 45 56 第二个数大 按任意键继续...... 1 using System; 2 using System....
阅读全文
摘要:编程输出九九乘法表 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace...
阅读全文
摘要:编写一段程序,运行时向用户提问“你考了多少分?(0~100)”,接受输入后判断其等级并显示出来。判断依据如下:等级={优 (90~100分);良 (80~89分);中 (60~69分);差 (0~59分);} 1 using System; 2 using System.Collections.Ge...
阅读全文
1

浙公网安备 33010602011771号