public void TestConsoleApp6() { ConsoleApp6.ConsoleApp6 v6 = new ConsoleApp6.ConsoleApp6(); string res = v6.Execute(); bool res = v6.Execute(); Assert.AreEqual(" ", true, res); }
static void Main(string[] args) { ConsoleApp6.ConsoleApp6 v6 = new ConsoleApp6.ConsoleApp6(); v6.Execute(); ClsSalesClients Client; Client = new ClsSalesClients(); Client.ClientId = 123; Client.LastName = "Tapia Martinez"; Client.Names = "Cesar Felipe"; Client.RFC = "TAMC040789"; Client.Address = "123 West Ave."; Client.City = "North Hills"; Client.State = "California"; Client.IsCredit = true; Console.WriteLine(Client.LastName + " " + Client.Names); Console.WriteLine(Client.Address + " " + Client.City + " " + Client.State); Console.WriteLine(Client.RFC); if (Client.IsCredit) { Console.WriteLine("The client has a credit"); } else { Console.WriteLine("The client has no credit"); } Console.ReadKey(); }