❔ Why showing error IDK.

I'm learning FileIO and I have copied code from book to learn but showing error.
11 Replies
Buddy
Buddy3y ago
Please show the error too red squiggly lines aren't helpful
Spirit Flying
Spirit FlyingOP3y ago
Just a sec
Spirit Flying
Spirit FlyingOP3y ago
Thinker
Thinker3y ago
Where do you expect SectionTitle to come from?
Spirit Flying
Spirit FlyingOP3y ago
I have just coped to learn file IO from book and as you asking in book what you are saying is not mentioned. Maybe from above 3 IO namespaces using static System.IO.Directory; using static System.IO.Path; using static System.Environment; Hey
Buddy
Buddy3y ago
I suggest calling your Program class something else and then just call Foo.Bar() as it is a static method or don't abuse partial classes and just define the method in the startup file itself
Spirit Flying
Spirit FlyingOP3y ago
Hey
Buddy
Buddy3y ago
hey?
KidAlchemy
KidAlchemy3y ago
Did you get it working?
Spirit Flying
Spirit FlyingOP3y ago
Not yet
Accord
Accord3y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.

Did you find this page helpful?