The last c# question result is country and capital and it won't execute. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

The last c# question result is country and capital and it won't execute.

using System public class Program { public static void Main (string [] args) { string country () Console.ReadLine string county () Console.Readline

22nd Jun 2023, 5:09 PM
Oscar
2 Answers
+ 1
This code is incomplete missing main function closing body and class statement are used incorrectly
22nd Jun 2023, 5:12 PM
A S Raghuvanshi
A S Raghuvanshi - avatar
0
AS Raghuvanshi Missing semicolon and namespaces as well..
22nd Jun 2023, 5:31 PM
Dragon RB
Dragon RB - avatar