C# Classes

I'm learning C# I was just coding some classes for a irc bot, so my question is, it's possible to use class without needing to type the class name before the method, for example

namespace IrcBot { public class Methods { public void MSG() { //code to write on strem } } }

And on main class I always need to make Methods.MSG(etc); it's possible to just make MSG(etc) from dif classes ?

by 3nvi via /r/csharp

Leave a Reply