The function in .NET can return multiple values through Out keyword string testout (Out char i)
{
i = 'a'; return "good study";} private void button_click (Object Sender, System.EventArgs E)
{Char i; // Don't initialize String getReturn = Testout (OUT I); RichtextBox1.AppendText ("The return value executed by:" getreturn "/ r / n"); richtextbox1.appendtext ("Return to OUT parameters Yes: " i.tostring () " / r / n ");}