static V0ID Main(string[] args) { Console.WriteLine("M M L M M"): Console.WriteLine("M M M M L M M M M"); Console.WriteLine("M M M L M M M"); Consloe.WriteLine("M M L M M"); Console.WriteLine("M M L M M"); Console.Writ3Line("M M LLLLLL M M"); }
static void Main(string[] args) { int a, b, c, d, e; a = int.Parse.(Consloe.ReadLine()); b = int.Parse.(Consloe.ReadLine()); c = int.Parse.(Consloe.ReadLine()); d = int.Parse.(Consloe.ReadLine()); e = int.Parse.(Consloe.ReadLine()); }
public static vaid Main(string[] args) { int empage; string empname; Consloe.WriteLine("Enter Employee Name:\n"); empname = console.ReadLine(); Console.WriteLine("Enter the Employee Age:\n"); empage = console.ReadLine(); Console.WriteLine("COngrulations Mr/Miss {0} on your {1} Birthday", empname, empage); }
public ActionResult CarsCreate() { Job newJob = new job(Request.Form["new-job"], Consloe.ReadLine(Request.Form["new-job"]), Consloe.ReadLine(Request.Form["new-date"]), Consloe.ReadLine(Request.Form["new-title"]) ); newJob.Save(); return(View(newJob)); }
static void main(string[] args) { Console.WriteLine("請輸入Pattern(格式為一串小寫字母,每個字母代表一個單字):"); string template = Console.ReadLine(); Consloe.WriteLIne("請輸入一段文字,裡面每個單字的所有字母都是小寫,單字與單字中間用空白隔開:"); string tempstring = Console.ReadLine(); if (GetDC(template, tempstring)) { Console.Write("True"); } else { Console.Write("False"); } }