原创 JavaScript 文本輸入框限制輸入個數,顯示剩餘輸入字數

<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> </head> <body> <form name="myform" actio

原创 C#7_31練習_計算字符串中每種字母出現的次數。

using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; usi

原创 File和FileInfo

using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; u

原创 C#hashtable的基本用法

using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; usi

原创 C#接口類的理解

using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; n

原创 C# 抽象類的理解

  using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks;

原创 C#迭代器的基本應用

using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Da

原创 C#練習—冒泡排序和選擇排序

using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; n

原创 C#基礎2018_7_9

1.比較字符串相等的方法(創建窗體應用程序):         string text1 = "週一";         string text2 = "週一";         if (text1 == text2)//第1種,直接使用

原创 C# 泛型接口

using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; nam

原创 C# 泛型類的集合和非泛型類的集合區別

using System.Collections;//非泛型類集合的命名空間。 //非泛型類的集合 不固定數據類型 using System.Collections.Generic;//泛型類集合的命名空間。 <1>非泛型類的集合和泛型

原创 C#基礎7_10_靜態類

1》創建靜態類 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Ta