C# 字符之间的转换

来源:互联网 发布:java中怎么调用方法 编辑:程序博客网 时间:2024/06/16 16:27

示例: string转int

    string CurTime;    int curTime = -1;    static void TryParse(ref string CurTime, ref int curTime)    {         int.TryParse(CurTime, out curTime);    }


原创粉丝点击