C#?ж??????????email???
???????????? ???????[ 2016/7/22 10:50:28 ] ????????.NET ???????????
??????????
class Program
{
static void Main(string[] args)
{
Console.WriteLine("????????????????????? @sina.com ??β");
string us =Convert.ToString(Console.ReadLine());
string str1 = us.Replace("@"?? "");
int count = us.Length - str1.Length;
string str2 = us.Replace("."?? "");
int count2 = us.Length - str2.Length;
int count3 = us.Length - 1;
int xl=us.IndexOf(".")-us.IndexOf("@");
bool mw = (us.IndexOf("@sina.com") == (us.Length-9));
while (count == 1 && count2 == 1 && us.IndexOf("@") > 0 && us.IndexOf(".") > us.IndexOf("@")
&& us.IndexOf(".")<count3)
{
if (xl != 1 && us.Contains("@sina.com") && mw)
{
Console.WriteLine("???");
}
else {
Console.WriteLine("???????????????");
}
break;
}
Console.ReadLine();
}
}
??????

???·???
App??С????H5?????????????????Щ??
2024/9/11 15:34:34?????????????????????????
2024/9/10 11:13:49P-One ???????????????????????????????????????
2024/9/10 10:14:12???????????????????????????
2024/9/9 18:04:26??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44