0

When I was working with c# the error list said "console name doesn't exit"How do I choose my console style???please answer me😪

23rd Feb 2022, 6:26 PM
Kate Dambar
Kate Dambar - avatar
43 Answers
+ 3
Taking a keen guess, did you mean to write "Console" ? Because C# is case sensitive, "console" is not the same as "Console".
23rd Feb 2022, 7:50 PM
Ani Jona 🕊
Ani Jona 🕊 - avatar
+ 3
Remove the last } and you should be done :) I don't see how gender fits into this, but if you feel uncomfortable talking to me you are free to opt not to.
24th Feb 2022, 4:08 PM
Ani Jona 🕊
Ani Jona 🕊 - avatar
+ 2
class Program { static void Main(string[] args) { int num1,num2,num3; float sum,avg; Console.Write("number1"); num1=Convert.ToInt32(Console.ReadLine()); Console.Write("number2"); num2=Convert.ToInt32(Console.ReadLine()); Console.Write("number3"); num3=Convert.ToInt32(Console.ReadLine()); Console .WriteLine("_____________________"); sum=num1+num2+num3; avg=sum/3.0f; Console .WriteLine ("sum={0,10} avg={1,10}", sum ,avg); Console .ReadKey(); } }
24th Feb 2022, 1:15 PM
Ani Jona 🕊
Ani Jona 🕊 - avatar
+ 1
If there's still something that is not working then please share your code so we can help :)
24th Feb 2022, 12:12 PM
Ani Jona 🕊
Ani Jona 🕊 - avatar
+ 1
All a secret :)
24th Feb 2022, 12:46 PM
Ani Jona 🕊
Ani Jona 🕊 - avatar
+ 1
Oh dear, there is quite a bit that went wrong... For example - You signature for Main is incomplete (parameter name and closing parethesis are missing) - Do not put a dot (.) between the type and the variables - int.parse is not how you convert a string into a number. Use Convert.ToInt32() for that - You are closing main too early in line 23 - Console.ReadKey(), not Readkey() Here is your fixed main function:
24th Feb 2022, 1:15 PM
Ani Jona 🕊
Ani Jona 🕊 - avatar
+ 1
You're English is terrible 🤣
25th Feb 2022, 7:04 PM
Kate Dambar
Kate Dambar - avatar
+ 1
Its secret for my close friends
26th Feb 2022, 8:34 AM
Kate Dambar
Kate Dambar - avatar
+ 1
What's the meaning of naveeth?
26th Feb 2022, 9:08 AM
Kate Dambar
Kate Dambar - avatar
+ 1
May I say something? Won't you be upset?
26th Feb 2022, 9:12 AM
Kate Dambar
Kate Dambar - avatar
+ 1
You can chat on direct profile or message it's comments i think 😅
26th Feb 2022, 9:16 AM
Mohammad Naveeth
+ 1
😁☺️😅😅 who told you Asia people are good 😜
28th Feb 2022, 5:08 PM
Mohammad Naveeth
+ 1
Any one
28th Feb 2022, 7:31 PM
Kate Dambar
Kate Dambar - avatar
0
Yes, I know I wrote the first letter of the console in capital letters and the rest of the letters in lower case, but I do not know why.
24th Feb 2022, 10:28 AM
Kate Dambar
Kate Dambar - avatar
0
Thanks where are you from?
24th Feb 2022, 12:29 PM
Kate Dambar
Kate Dambar - avatar
24th Feb 2022, 12:47 PM
Kate Dambar
Kate Dambar - avatar
0
Are you a man from America?
24th Feb 2022, 12:52 PM
Kate Dambar
Kate Dambar - avatar
24th Feb 2022, 2:13 PM
Kate Dambar
Kate Dambar - avatar
0
I like to know the gender of the person I am talking to 
24th Feb 2022, 2:19 PM
Kate Dambar
Kate Dambar - avatar
0
Hi
25th Feb 2022, 3:35 PM
Mohammad Naveeth