What's new

[C#] Tell Me Your Name! Source Code

Status
Not open for further replies.

Stormboy

Newbie
Messages
21
Reaction score
11
Code:
using System;

public class Chill
{
	public static void Main()
	{
		Console.WriteLine("Guys chill and have a soda!");
		Console.ReadKey();
	}
}
 

ActionScript

XG R4PiDzZ
Messages
2,669
Reaction score
1,405
Code:
using System;
 
public class Chill
{
	public static void Main()
	{
		Console.WriteLine("Guys chill and have a soda!");
		Console.ReadKey();
	}
}
I win. /thread

Code:
class ***{static void Main(){System.Console.WriteLine("ur nt cool");System.Console.ReadLine();}}
 

ByrdMan

Once there was a very ugly barnacle.
Retired
Messages
1,682
Reaction score
1,135
Are you serious why would you release this. I learned this on day one of console:confused:
 

thetechnation

gaming developer
Messages
1,441
Reaction score
144
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 ();
		}
	}
}
no real life use but pretty neat keep learning may i suggest taking a free online course on coding
https://www.udemy.com/ has some pretty good intro level courses i think you would benifet from 
Are you serious why would you release this. I learned this on day one of console:confused:
i did to lol
 

Dark TwizTid

1 + 0 = 10
Messages
2,137
Reaction score
583
Well then you guys would remember that one time you completed the code and the feeling of accomplishment that came from it.
 
Status
Not open for further replies.
Top Bottom