C#
共 7 篇文章
C#练习代码
using System; class Program { static void Main() { Console.WriteLine("请输入两个整数:"); int a = Convert.ToInt32(Console.ReadLine());//Console.ReadLine()默认读取字符串 int b = Convert.ToInt32(Console.ReadLine());//Console.ToInt32()将读到的字符转换为带符号的32位整数 int c = a + b; Console.WriteLine("两数之和是:" + c); Console.ReadLin…
2014-05-12 09:47 · C# · C#
图片切换(C#)
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace button1 { public partial class Form1 : Form { int i = 0; public Form1() { I…
2014-05-05 12:51 · C#
简单加法计算器(C#)
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace frmexe01 { public partial class frmexe01 : Form { public frmexe01() { Initi…
2014-05-05 12:47 · C#
流水灯程序与计算输入校验(C#)
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using System.Diagnostics; namespace frmexe01 { public partial class frmExe03 : Form {…
2014-05-05 12:44 · C#
输入身份证号码查看图片(C#)
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace chx01 { public partial class Form1 : Form { public Form1() { InitializeComp…
2014-05-04 19:57 · C# · C#
C#程序代码记录一
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace _01 { public partial class Form2 : Form { public Form2() { InitializeCompon…
2014-05-03 18:29 · C#
音乐播放器源码(C#,未成功)
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace music_play { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void btpaht_Click(object …
2014-05-03 11:16 · C# · C#