Dan
Dan
CC#
Created by Dan on 4/25/2023 in #help
Object Method error
It would help if you example rewrite the constructor for referenceclass1 in a way that provides all the parameters slightly unclear what you mean
41 replies
CC#
Created by Dan on 4/25/2023 in #help
Object Method error
👍
41 replies
CC#
Created by Dan on 4/25/2023 in #help
Object Method error
CS7036 There is no argument given that corresponds to the required formal parameter 'aSentence' of 'Class1.Class1(string, string, double)'
internal class Class1 { public string word; public string sentence; public double letters; public Class1(string aWord, string aSentence, double aLetters) { word=aWord; sentence=aSentence; letters=aLetters; } public bool IsWord() { if(letters>=1) { return true; } return false; } }
41 replies