Advertisement
Raizekas

Untitled

Jan 26th, 2016
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.52 KB | None | 0 0
  1.   static string RikiuotaEilutÄ—(string rezultatuEilute)
  2.         {
  3.             string rikiuota = "";
  4.             List<char> raidesCharu = new List<char>();
  5.             List<int> raidesIntu = new List<int>();
  6.  
  7.             for (int i = 0; i < rezultatuEilute.Length; i++)
  8.             {
  9.                 raidesCharu.Add(rezultatuEilute[i]);
  10.             }
  11.  
  12.             foreach (char ch in raidesCharu)
  13.             {
  14.                 raidesIntu.Add(Convert.ToInt16(ch));
  15.             }
  16.             return rikiuota;
  17.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement