Guest User

Untitled

a guest
Jul 18th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. public List<string> output = new List<string>();
  2. List<string> newNumeralSystem(char number) {
  3. string Alph = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
  4. char[]a = new char[25];
  5. a =Alph.ToCharArray();
  6. int ac = Array.IndexOf(a,number);
  7. for( int x = 0 ; x > 25 ;x++)
  8. {
  9. int m = ac - x;
  10. if(m != 0)
  11. {
  12. //output[x] = string.Format(a[m] +"+"+ a[x]);
  13. output.Add(new string(){a[m] +"+"+ a[x]});
  14.  
  15. }
  16. }
  17. return output;
  18. }
Add Comment
Please, Sign In to add comment