TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Maha
NA
600
71.4k
Desired Output of a separator
Nov 29 2019 1:18 AM
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);
}
}
}
Reply
Answers (
2
)
How to Give Header Name in Excel Using Asp.Net C#
XML file to struct