+ 1
Why compiliator gives error when i try assign a value fuelCons in derived class? where is my mistake?
derived class https://code.sololearn.com/cJqqnITxuHTg/?ref=app
3 odpowiedzi
+ 1
Hi Jamie. Thx for your advice. I put that line in a constructor of derived class. It works:)
+ 1
Also, you wrote:
"Console.Writeline"
The 'l' in line should be upper case, like:
WriteLine
Console.WriteLine("C# is case sensitive");