Hello, i am new to using C# and I was wondering how if i set some variable in a from how i can transfer them back to the main method?
for example if i have:
public partial class MyInputForm : Form
{
String name;
Int ref_no;
public ..... FORM IMPLEMENTATION
as part of Form1.cs and i want to use them in static void main in program.cs. How would I achieve this?
Thanks