Beginner program help

I am trying to basically ask for a name (SID) and have it go to GETINFO and use that name instead and messagebox.show it

here is my code below

 public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { } private void button1_Click(object sender, EventArgs e) { String SID; SID = textBox1.Text; GETINFO(SID); MessageBox.Show(SID); } private void GETINFO(string SID) { SID = "Bailey"; return char SID; } 

submitted by /u/gearfuze
[link] [comments]

Leave a Reply