I'm trying to make a console program in C# that is independent from using System
or any other libraries, that includes Console.WriteLine();
. I'm making an SDK written in C# (almost like what Unity 3D does). However I don't know how to make a custom text printer. I've found no articles on the web or Stackoverflow questions related to what I want to do. There has to be someway of doing this, or Console.WriteLine();
wouldn't exist.
Here is my code so far, but I don't know how much it will help:
public static class GPrint
{
public static void Print(string str)
{
}
}
I've explored almost all of the obvious stuff like string.something()
and str.something()
, but there seems to be nothing related to printing a string on the screen.
Is there any way I can make a simple Console.WriteLine()
clone without using the provided System
namespace?
Thanks in advance!