0

problem void bool

its a exercise of sololearn, i dont know if im doing right. thanks. the error is CS1503 https://code.sololearn.com/cEI3V9lWyinM/?ref=app

6th Dec 2020, 6:30 PM
Jose Perez
Jose Perez - avatar
4 odpowiedzi
0
Jose Perez using System; class Program { static void Main(string[] args) { Settings(name:"James",age:25,lang:"Spanish"); Settings(name:"Tom",age: 36); } static void Settings(string name, int age, string lang = "english") { Console.WriteLine(
quot;Name: {name}"); Console.WriteLine(
quot;Age: {age}"); Console.WriteLine(
quot;Language: {lang}"); } }
6th Dec 2020, 6:38 PM
Flash
0
it doesnt works anyway Flash
7th Dec 2020, 5:53 PM
Jose Perez
Jose Perez - avatar
7th Dec 2020, 6:06 PM
Flash
0
ok now works, thank you Flash!
7th Dec 2020, 6:20 PM
Jose Perez
Jose Perez - avatar