public static void PrintMessage(string message, NewLineCharacter type = NewLineCharacter.yes) { if (type == NewLineCharacter.yes) { Console.WriteLine(message); } else { Console.Write(message); } }
public void WriteMessage(string message, NewLineCharacter charReturn = NewLineCharacter.Yes) { try { if (charReturn != NewLineCharacter.Yes) { Console.Write(message); } else { Console.WriteLine(message); } } catch { throw; } }