Problems with inheritance | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Problems with inheritance

I'm currently working on a program that can solve a rubik's cube but if I use this code I get this eror: CS0103 The name 'Condition fields' does not exist in the current context do somebody why that happens? https://code.sololearn.com/cbv7f39VDzGW/?ref=app

27th Apr 2017, 4:33 PM
Johannes Roksvaag
Johannes Roksvaag - avatar
4 Answers
+ 2
Typo in line 32 Conditionfields instead of ConditionFields. There is also a missing ; there.
27th Apr 2017, 7:50 PM
Bebida Roja
Bebida Roja - avatar
+ 1
thanks but I already have already found the problem I didn't write it in a Method
27th Apr 2017, 7:52 PM
Johannes Roksvaag
Johannes Roksvaag - avatar
+ 1
The initializer of Conditionfields, right?
27th Apr 2017, 7:53 PM
Bebida Roja
Bebida Roja - avatar
0
in line 32 this has to be in a Method
27th Apr 2017, 7:54 PM
Johannes Roksvaag
Johannes Roksvaag - avatar