Horje
Reverse Coding Challenge 1 Code Example
Reverse Coding Challenge 1
public class Program 
{	//"A4B5C2" ➞ "AAAABBBBBCC"	
	public static string MysteryFunc(string s) 
    {  string s2 = "";
        for (int i = 0; i < s.Length; i+=2)
        s2 += new string(s[i], int.Parse((s[i+1]).ToString()));
        return s2;
		}
}
Source: edabit.com




Csharp

Related
ASP.NET Web Forms TextBox Code Example ASP.NET Web Forms TextBox Code Example
vector2 with switch statement Code Example vector2 with switch statement Code Example
asp.net get most recent file in directory Code Example asp.net get most recent file in directory Code Example
how to create more accurate searching c# Code Example how to create more accurate searching c# Code Example
switch case with 2 variables c# Code Example switch case with 2 variables c# Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
10