For example string Str ="Csharpcorner"
I need every 3rd letter as output
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Amit GuptaRank #190 · 12.8K reputationPosted Jan 4, 2017, 7:52 AM EST
Bikesh SrivastavaRank #108 · 20.3K reputationPosted Jan 4, 2017, 8:43 AM EST
Vignesh ManiRank #98 · 22.1K reputationPosted Jan 4, 2017, 10:18 AM EST
{
//Your code goes here
string str="Welcome To All";
for(int i=2;i
Console.WriteLine(str[i]);
}
Console.WriteLine("Hello, world!");
}