I have a program of some length, with a class and many methods. All of these have to be contained in one huge class that wraps the entire file except the using statements. The necessity of that huge wrapping class seems pointless, is this used only later when making a program with multiple files?
using System;
using System.IO;
using System.Text.RegularExpressions;
using System.Collections.Generic;
using System.Linq;
public class CollectKeywordsFromLogs // why do I need this ( when it is the only class [as i just added the test class for the question])
{
//a class
//constructor
//methods
//methods
public static void Main() // and why would i need to explicitly declare this public? it works either way, and a private main would be useless no?
{}
}
this is my full file. i compile csc file.cs then file.exe.
oh duh, case sensitive. thanks. but still -> why do i need the wrapping class when nott using the test class?