Stormboy
Newbie
Code:
using System;
public class Chill
{
public static void Main()
{
Console.WriteLine("Guys chill and have a soda!");
Console.ReadKey();
}
}
using System;
public class Chill
{
public static void Main()
{
Console.WriteLine("Guys chill and have a soda!");
Console.ReadKey();
}
}
Code:using System; public class Chill { public static void Main() { Console.WriteLine("Guys chill and have a soda!"); Console.ReadKey(); } }
class ***{static void Main(){System.Console.WriteLine("ur nt cool");System.Console.ReadLine();}}
I recently released a program called Tell Me Your Name! two weeks ago. I told you guys I would release it the next week but I forgot and was totally busy.
So the first 4 lines are:
Code:using System; using System.Collections.Generic; using System.Linq; using System.Text;
The next lines are:
Code:using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Tell_Me_Your_Name_Coin_S7 { class MainClass { public static void Main (string[] args) { } } }
Inside of "public Main" put this code:
Code:Console.Write ("What is your name? "); String name = Console.ReadLine (); Console.WriteLine ("Your name is " + name); Console.ReadKey ();
So your final result will look like this:
Code:using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Tell_Me_Your_Name_Coin_S7 { class MainClass { public static void Main (string[] args) { Console.Write ("What is your name? "); String name = Console.ReadLine (); Console.WriteLine ("Your name is " + name); Console.ReadKey (); } } }
Are you serious why would you release this. I learned this on day one of console