2
Answers

Desired Output of a separator

Maha

Maha

5y
566
1
I want a output like this ======================. How to get it?  
 
using System;
namespace ConsoleApp3
{
class Program
{
static void Main(string[] args)
{
string proteinIntake = "Protein Intake Week: 1";
string separator = new string('=', proteinIntake.Length);
Console.WriteLine(separator);
}
}
}
 
Answers (2)