摘要:
using System;using System.Collections.Generic;using System.Linq; using System.Text;namespace C字段属性方法{ class Program { static void Main(string[] args) { School school1 = new School(); school1.SchoolName="清华";//为SchoolName属性赋值 school1.Schooladdress="圆明园路";//为Schooladdress属性赋值 schoo 阅读全文
摘要:
using System;using System.Collections.Generic;using System.Linq; using System.Text;namespace ConsoleApplication1{ class Program { static void Main(string[] args) { double a = 0; double b = 0; double c = 0; Console.WriteLine("请输入第一个数:"); a = Convert.ToInt32(Console.ReadLine()); Console.Writ 阅读全文