摘要: JSON语法规则 数据在键值对中 数据由逗号分隔 花括号保存对象 方括号保存数组 json简单来说就是javascript中的对象和数组,所以这联众结构就是对象和数组两种结构,通过这两种结构可以表示各种复杂的数据结构 1.对象:对象在js中表示为"{}"括起来的内容,数据结构为{key:value, 阅读全文
posted @ 2020-12-21 09:37 siha123 阅读(301) 评论(0) 推荐(0)
摘要: private void listView_test_MouseClick(object sender, MouseEventArgs e) { i= listView_test.Items.IndexOf(listView_test.FocusedItem); } 需要使用 listView_te 阅读全文
posted @ 2020-11-16 11:39 siha123 阅读(736) 评论(0) 推荐(0)
摘要: public partial class Form2 : Form { public Form2() { InitializeComponent(); } private void button_back_Click(object sender, EventArgs e) { Form1 fr1 = 阅读全文
posted @ 2020-11-13 17:04 siha123 阅读(95) 评论(0) 推荐(0)
摘要: private void checkBox_password_CheckedChanged(object sender, EventArgs e) { textBox_password.PasswordChar = '\0'; if (checkBox_password.Checked) { tex 阅读全文
posted @ 2020-11-13 16:19 siha123 阅读(165) 评论(0) 推荐(0)
摘要: using Microsoft.VisualBasic; using System; using System.Collections.Generic; using System.Text; using System.Xml; namespace xml { public class RWXml { 阅读全文
posted @ 2020-11-11 11:03 siha123 阅读(91) 评论(0) 推荐(0)
摘要: using System; namespace RectangleApplication { class Rectangle { // 成员变量 double length; double width; public void Acceptdetails() { length = 4.5; widt 阅读全文
posted @ 2020-11-02 09:35 siha123 阅读(132) 评论(0) 推荐(0)
摘要: using System; namespace 实例变量 { class Program { static void Main() { Console.Write("请随便输入一个数:"); int number = int.Parse(Console.ReadLine()); string res 阅读全文
posted @ 2020-09-17 17:04 siha123 阅读(73) 评论(0) 推荐(0)
摘要: using System; namespace 实例变量 { class Program { string stuName;//创建变量 static void Add(int x, int y, out int sum)//定义方法 { sum=x+y; //x,y相加 } static void 阅读全文
posted @ 2020-09-17 16:25 siha123 阅读(50) 评论(0) 推荐(0)
摘要: using System; namespace 实例变量 { class Program { string stuName;//创建变量 static void Main(string[] args) { Program pg = new Program();//实例化类 pg.stuName = 阅读全文
posted @ 2020-09-17 16:07 siha123 阅读(53) 评论(0) 推荐(0)
摘要: C#平台:控制台应用程序 程序及注释: using System; namespace ConsoleApp1{ class Program { static string StuName = "徐菲菲"; static void Main(string[] args) { int Age = St 阅读全文
posted @ 2020-09-17 15:26 siha123 阅读(248) 评论(0) 推荐(0)