Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
NumsToVars
using System; using static System.String; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { //Your code goes here string str = @"545232155"; str=str.Replace('1', 'A'); str=str.Replace('2', 'B'); str=str.Replace('3', 'C'); str=str.Replace('4', 'D'); str=str.Replace('5', 'E'); char [] ar = str.ToCharArray(); int num=33; for (int i = 0; i < ar.Length; i++) { Console.WriteLine(num + ":" + ar[i]); num++; } } } }
run
|
edit
|
history
|
help
0
CryptoJS vs AES
Something
sample code
Daily Coding Problem: Problem #4
Pascal's triangle
Array merge
out parameters
Testing 11
6.4 Parallelism: threads and events
decimal to multiple binary