已采納回答 / qq_光輝de歲月_0
int x =1while(true)//條件一直成立,一直循環{?????x++;????if (x>10) //需加入條件判斷,中止循環????????break;}
2018-01-08
最贊回答 / 肆月初肆
using System;using System.Collections.Generic;using System.Text;namespace Test{? ? class Program? ? {? ? ? ? static void Main(string[] args)? ? ? ? {? ? ? ? ? ? Console.WriteLine(true|| false);//輸出True? ? ? ? ? ? Console.WriteLine(true && false);/...
2017-12-14
最贊回答 / 異涼聰
using System;using System.Collections.Generic;using System.Text;namespace Test{??? class Program??? {??????? static void Main(string[] args)??????? {??????????? string[,] ov ={{"h","e","l","l","o"," "},{"eve","r","y","o","n","e"}};??????????? for(int a=0;...
2017-12-11
最新回答 / 火日立子
Console.Write("這樣寫輸出的語句結尾不換行");Console.WriteLine("這樣寫輸出的語句結尾換行");Console.Write("這樣寫輸出的語句結尾不換行");
2017-12-09
最新回答 / 楊昊杰
??????????? Form2 frm = new Form2();//實例化窗體 并定義??????????? frm.Show(); ? ? ? ? ? ? ? ? ? ? ? ? //讓新窗體顯現出來 ? ? ? ? ? ? ? ???????????? this.Hide();???????????????????????? //讓你的窗體1隱藏你可以根據這個來寫。你的program.cs 中??????????? Application.Run(new Form1()); ?? //默認啟動...
2017-12-06