打造高逼格的手机名片,当有人问你要手机号码时,直接发这段代码给他,让他自己用程序输出,哈哈哈~
// 高逼格 手机名片 代码 --- 135 7961 9153 -- 测试手机号码(请勿拨打!!!)
private void ReadPhoneNum()
{
int[] num = { 1, 9, 5, 3, 7, 6 };
int[] index = { 0, 3, 2, 4, 1, 5, 0, 1, 0, 2, 3 };
string strPhone = "";
for(int i = 0; i < index.Length; i++)
{
strPhone += num[index[i]];
}
Debug.Log("\n 解析出手机号码为:" + strPhone); // 解析出手机号码为:13579619153
}
备注:
纯属娱乐,若文中手机号码涉及你的 隐私,请留言以便修改,造成不便,敬请谅解。