❔ Why showing error IDK.
I'm learning FileIO and I have copied code from book to learn but showing error.
11 Replies
Please show the error too
red squiggly lines aren't helpful
Just a sec
Where do you expect
SectionTitle
to come from?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
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
Hey
hey?
Did you get it working?
Not yet
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.