I'm quite new in C# but, I want to make myself a debug console in form dbg. And I want to color and bold the variables that are coming for it, I made an function to easy write to console:
private void writtodbg(string x, string y)
{
string a = Convert.ToString(x);
string b = Convert.ToString(y);
Debug.rTB1.AppendText(a, Color.Orange); // bold
Debug.rTB1.AppendText(" = "); // bold
Debug.rTB1.AppendText(b + Environment.NewLine, Color.Orange); // bold
}
But then error occurs which says "No overload for method 'AppendText' takes 2 arguments".