fork download
  1. [System.Runtime.InteropServices.DllImport("User32.dll")]
  2. static extern IntPtr SendMessage(
  3. IntPtr hWnd, int msg, int wParam, int[] lParam);
  4.  
  5. private void Form1_Load(object sender, EventArgs e)
  6. {
  7. const int EM_SETTABSTOPS = 0x00CB;
  8.  
  9. SendMessage(textBox1.Handle, EM_SETTABSTOPS, 1, new int[] { 2 });
  10. textBox1.Multiline = true;
  11. textBox1.AcceptsTab = true;
  12. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cs(2,21): error CS8025: Parsing error
Compilation failed: 1 error(s), 0 warnings
stdout
Standard output is empty