Hello, I’m working on this task:
Create string variable iSwear with value “I am a member of the resistance” and output it 5 times every time from the new line.
Here is my code:
public class SwearYouAreMemberOfResistance
{
public static void Main(string[] args)
string iSwear = "I am a member of the resistanceng";
Console.WriteLine(iSwear);
Console.WriteLine(iSwear);
Console.WriteLine(iSwear);
Console.WriteLine(iSwear);
Console.WriteLine(iSwear);
}
}
Can anyone please help me to solve it?
i copy this code on viisual studio and it works just fine
but in codeeasy it show error about string