static void Main(string[] args) { CSharpLib.TestDemo testcsharp = new CSharpLib.TestDemo(); testcsharp.GetFullName("Lindsey", "Nicole", "Weber"); var resCsharp = testcsharp.LoadFile(); Console.WriteLine(resCsharp); Console.WriteLine("~~~~~~~~~~~~"); VbLib.TestDemo testvb = new VbLib.TestDemo(); testvb.GetFullName("Joseph", "Arnold", "Petrie"); var resVb = testvb.LoadFile(); Console.WriteLine(resVb); }
static void Main(string[] args) { CSharpLib.TestDemo testcsharp = new CSharpLib.TestDemo(); testcsharp.GetFullName("Andres", "", "Siles"); var resultsCsharp = testcsharp.LoadFile(); foreach (var item in resultsCsharp) { Console.WriteLine(item); } Console.WriteLine("*************************"); VbLib.TestDemo testvb = new VbLib.TestDemo(); //makes a reference to a VB class in C# code testvb.GetFullName("Andres", "S", "Siles"); //language interactivity in .Net var resultsVb = testvb.LoadFile(); foreach (var item in resultsVb) { Console.WriteLine(item); } }
static void Main(string[] args) { CSharpLib.TestDemo testCSharp = new CSharpLib.TestDemo(); testCSharp.GetFullName("Jacob", "Aaron", "Jennings"); var results = testCSharp.LoadFile(); foreach (var item in results) { Console.WriteLine(item); } Console.WriteLine("\n*******************************************\n"); VBLib.TestDemo testVB = new VBLib.TestDemo(); testVB.GetFullName("Mr.", null, "Sleepy"); var vbresults = testVB.LoadFile(); foreach (var item in vbresults) { Console.WriteLine(item); } }
static void Main(string[] args) { int a = 10; float b; CSharpLib.TestDemo testcsharp = new CSharpLib.TestDemo(); testcsharp.GetFullName("Pushpinder", "", "Kaur"); var resultsChsarp = testcsharp.LoadFile(); foreach (var item in resultsChsarp) { Console.WriteLine(item); } Console.WriteLine("**************************"); VbLib.TestDemo testVb = new VbLib.TestDemo(); testVb.GetFullName("Marielle", "C", "Nolasco"); var resultsVb = testVb.LoadFile(); foreach (var item in resultsVb) { Console.WriteLine(item); } }