Hello, I have my main program.cs with static void main and i want to call a method I have created in my misc_methods.cs.
The method is string_split(string inputString)
misc_methods.cs is in the same folder and looks like this:
namespace my_project
{
class string_split
{
public string_split(string inputString)
{
...code for method
}
}
}
I've only just started learning C# so I don't really know what the problem was but I thought the main part was having the same namespace.
Oh, i get the type or namespace could not be found error.
I'd be most grateful if someone could help me.
Thanks