Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Lab 2 Part D Microsoft Visual Studio Edit View Project Build Debug Team Tools Te

ID: 3746021 • Letter: L

Question

Lab 2 Part D Microsoft Visual Studio Edit View Project Build Debug Team Tools Test Analyze Window Help .cu-" . Debug Any CPU rogrames" AccountTest Cor Lab 2 Part D ccont 3 pusing System; 4 using System.Collections.Generic; using System.Linq; using System.Text 5 7 Lusing System.Threading. Tasks; 1namespace AccountTest-ConsoleApplication 9 10 11 1 : class AccountTest static void Main(stringt] args) 14 I 15 Account yAccount net Account( sampleAccount) ccount new Account ( sampleAccount Console.Mriteline($"Initial name is: ( sampleAccount. Name)") Console.Write("newAccount:"): string theName=Console.ReadLine(); myAccount. Name theName; Console.Writeline($"myAccount's name is :(neuAccount.Name)") Console.ReadLine) 17 :

Explanation / Answer

please give thumbs up, thanks

Paste this Class code:

class AccountTest

{

string Name;

AccountTest(string value)

{

Name=value

}

static void Main(string[]args)

{

Account myAccount=new Account("sampleAccount");

Console.WriteLine($"Initial name is : {myAccount.Name}");

Console.Write("newAccount");

string theName=Console.ReadLine();

myAccount.Name=theName;

Console.WriteLine($"myAccount's name is : {myAccount.Name}'");

Console.ReadLine();

}

}