static void Main(string[] args) { Console.WriteLine("Hello World!"); var p = new TestDll.Class1(); p.call_main(); }
private void button1_Click(object sender, EventArgs e) { TestDll.Class1 C = new TestDll.Class1(); string Test = C.AStringMethod(); MessageBox.Show("Test"); }