c#——常用的基本數類型

c#常用的基本數類型 例1, Convert.ToInt32將字符串轉換爲整數。 namespace ConsoleApplication1 { class Program { static void Main(string[] args) { // Console.WriteLine("請輸入第一個數字"); string s1 = Console.ReadLine(); //不能把s1聲明爲i
相關文章
相關標籤/搜索