Which language is this code belong to? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 6

Which language is this code belong to?

static void Main(string[] args) { string yourName; Console.WriteLine("What is your name?"); yourName = Console.ReadLine(); Console.WriteLine("Hello {0}", yourName); }

19th Oct 2017, 11:31 PM
YAKUBU IBRAHIM
YAKUBU IBRAHIM - avatar
12 Answers
+ 9
It's C#
20th Oct 2017, 12:33 AM
qwerty
qwerty - avatar
+ 8
C# for sure :)
20th Oct 2017, 12:40 AM
Domagoj Radičević
Domagoj Radičević - avatar
+ 8
main diff between Java and C# is: java : main(){} C#: Main(){} Definitely your code belongs to C#. 👍👍
1st Dec 2018, 12:51 PM
ASIF BILAKHIYA
ASIF BILAKHIYA - avatar
+ 4
It must be binary
20th Oct 2017, 12:24 AM
Rrestoring faith
Rrestoring faith - avatar
+ 3
c#
20th Oct 2017, 2:10 AM
Abhi Rao
Abhi Rao - avatar
+ 2
C#, you can tell from console word .
20th Oct 2017, 2:15 AM
amr hassan (3Mo0or)
amr hassan (3Mo0or) - avatar
+ 1
Probably electrical signals running through your computer in binary or the presence or lack of electrons moving across your motherboard or quantaum mechanics or english edit* quantaum mechanics if you are using a quantaum computer
20th Oct 2017, 7:40 PM
SomeoneAwesome78
SomeoneAwesome78 - avatar
+ 1
C# for sure.
24th Oct 2017, 8:25 AM
siyabulela mahashi
siyabulela mahashi - avatar
+ 1
it's C#
24th Oct 2017, 8:55 AM
Tshireletso
Tshireletso - avatar
+ 1
right @abhi rao!
27th Oct 2017, 1:49 AM
YAKUBU IBRAHIM
YAKUBU IBRAHIM - avatar
+ 1
C#
27th Oct 2017, 7:03 AM
SrisailaNath
SrisailaNath - avatar
- 2
Java
20th Oct 2017, 12:22 AM
Timo Ramallo
Timo Ramallo - avatar