0

Please I want to add space to this, how do I add space in c# ?

using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Text.RegularExpressions; namespace SoloLearn { class Program { static void Main(string[] args) { string input = Console.ReadLine(); string result = Regex.Replace(input, "[^a-zA-Z0-9_]+"," "); Console.Write(result.Replace(" ","")); } } }

23rd Apr 2020, 3:48 PM
Joseph Oritseweyinmi
Joseph Oritseweyinmi - avatar
1 Réponse
+ 1
Please I want to add space to this, how do I add space in c# ? using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Text.RegularExpressions; namespace SoloLearn { class Program { static void Main(string[] args) { string input = Console.ReadLine(); string result = input.Replace(" ", ","); Console.Write(result); } } } I hope, it will help! 😊👍
23rd Apr 2020, 4:01 PM
F L a Z z Y
F L a Z z Y - avatar