Cc full angle to half angle function

From , 2 Years ago, written in C#, viewed 103 times.
URL https://pastebin.vip/view/d6428eec
  1. string QjToBj(string str)
  2.         {
  3.             string QJstr = str;
  4.             char[] c = QJstr.ToCharArray();
  5.             for (int i = 0; i < c.Length; i++)
  6.             {
  7.                 byte[] b = System.Text.Encoding.Unicode.GetBytes(c, i, 1);
  8.                 if (b.Length == 2)
  9.                 {
  10.                     if (b[1] == 255)
  11.                     {
  12.                         b[0] = (byte)(b[0] + 32);
  13.                         b[1] = 0;
  14.                         c[i] = System.Text.Encoding.Unicode.GetChars(b)[0];
  15.                     }
  16.                 }
  17.             }
  18.             string strNew = new string(c);
  19.             return strNew;
  20.         }
  21. //csharp/820

Reply to "Cc full angle to half angle function"

Here you can reply to the paste above

captcha

https://burned.cc - Burn After Reading Website