+ 1
What am I doing wrong in this C# practice question?--Solved
I have to make a constructor that outputs New Post and a property that defines the text field. I can't make it work https://code.sololearn.com/cKqw0iY13cXf/?ref=app https://code.sololearn.com/cKqw0iY13cXf/?ref=app
4 ответов
+ 7
Missing constructor declaration on line 23 needs to be added.
public Post()
Additional semicolon on line 34 needs to be removed.
public String Text
+ 2
Post your update code!!
it works fine by changes suggested by @Hatsy Rei.
+ 2
Hi, I had to do a code reset and type it all back in from scratch to get it to work
+ 1
I've made those changes, but for some reason the get accessor won't change colours indicating it's working