Hi, I am a beginner in C# and I am currently learning this program from an online PDF book.
Within the book there is a code example and the author stated that it should work if I put it in a C# compiler.
However, when I copy and paste the code into an online compiler I got this error message...
Hello, i cant build my c# winforms project. it shows this error:
Error MSB4018 the "CreateAppHost" task failed unexpectedly.
v Microsoft.NET.HostModel.ResourceUpdater.AddResourcesFromPEImage(String peFile)
Please tell me. I can't solve the error in the JsonDocument.Parse method in any way.
Translation of the error text: Error CS1061 / "object" does not contain a definition for "Parse" and it was not possible to find an extension method "Parse" that takes the type "object" as the first argument...
i am learning C# programing. when i was practicing method overriding concept i got below error.
please any body can help me to address this issue i would be grateful.
I'm currently trying to create a user control, where one of the properties is a list of an MenuItem class. Here's the code I have so far:
private List<MenuItem> menuItems = new List<MenuItem>();
public List<MenuItem> MenuItems
Hello, I am making a C# console application which calculates BTEC grades to UCAS points.
Only thing is, this course has 18 units, so I want the user to enter either 'p', 'm' or 'd' and maybe some other inputs if I choose to later.
So when the user enters something wrong like 'wefttryh239y' then...