摘要:
using System;using System.Collections;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace 面向对象... 阅读全文
摘要:
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace 面向对象之继承{ class Program ... 阅读全文
摘要:
//把{"诸葛亮","鸟叔","卡卡西","卡哇伊"}变成诸葛亮|鸟叔|卡卡西|卡哇伊,然后再把|切割掉。 string[] names = { "诸葛亮" ,"鸟叔","卡卡西","卡哇伊"}; string str = ... 阅读全文
摘要:
//写一个Ticket类,有一个距离属性(本属性只读,在构造方法中赋值),不能为负数 //有一个价格属性,价格属性为只读,并且根据距离distance计算价格Price(1元/公里) //0--100公里 票价不打折 ... 阅读全文
摘要:
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace 静态与非静态的区别{ public cla... 阅读全文
摘要:
无标题文档给4个div中的任何一个添加背景颜色利用for循环给4个div全部添加背景颜色。 阅读全文