110,536
社区成员
发帖
与我相关
我的任务
分享
ItemcatsGetResponse ite = ItemAPI.itempropsGet(0L);
这样传正常
Int64 _id = Convert.ToInt64(id);
ItemcatsGetResponse t = TopApiHelper.ItemAPI.itempropsGet(_id);
这样什么都得不到啊
string text = "123456";
Int64 value = Convert.ToInt64(text);
string text = "123456";
Int64 value;
try
{
if (!Int64.TryParse(text, out value))
{
// TODO - Notify that error occurs
Console.WriteLine("Error occurs while converting text to int64 value.");
}
Console.WriteLine("{0}", value);
}
catch(ArgumentException ex)
{
// TODO - Notify that error occurs
Console.WriteLine(ex.Message);
}