jpconver,
Please disregard my most recent reply/question. Immediately after submitting, I realized that streamreader has no constructor with zero arguments.
I'm having so much fun learning to use Browxy that I'm not thinking about the language.
Search found 3 matches
- Mon Jun 06, 2022 4:24 pm
- Forum: Help with my program
- Topic: C# Assembly Reference
- Replies: 3
- Views: 114466
- Mon Jun 06, 2022 3:20 pm
- Forum: Help with my program
- Topic: C# Assembly Reference
- Replies: 3
- Views: 114466
Re: C# Assembly Reference
Thanks for the reply. A really basic mistake on my part. I've made the correction: Streamreader to StreamReader in both cases. Now the error is Compilation failed: 1 error(s), 0 warnings main.cs(7,19): error CS0122: `System.IO.StreamReader.StreamReader()' is inaccessible due to its protection level ...
- Sat Jun 04, 2022 11:27 pm
- Forum: Help with my program
- Topic: C# Assembly Reference
- Replies: 3
- Views: 114466
C# Assembly Reference
A trivial C# program: using System; using System.IO; public class HelloWorld { static public void Main () { Console.WriteLine ("Hello World!"); Streamreader sr = new Streamreader(); } } My program, above, results in the following error. Compilation failed: 1 error(s), 0 warnings main.cs(7,7): error...