会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
浪漫大尾巴狼
博客园
首页
新随笔
联系
订阅
管理
2020年10月8日
c# 包含哪些关键字?
摘要: abstract as base bool break byte case catch char checked decimal default delegate continue double do else enum ecent explicit finally fixed float for
阅读全文
posted @ 2020-10-08 08:51 浪漫大尾巴狼
阅读(1514)
评论(0)
推荐(0)
2020年10月7日
C#编程-17:字符串取第一个和最后一个字符
摘要: 取第一位和最后一位: str.substring(0, 1) str.substring(str.Length-1, 1) 来自 https://zhidao.baidu.com/question/423908312.html
阅读全文
posted @ 2020-10-07 16:48 浪漫大尾巴狼
阅读(2847)
评论(0)
推荐(0)
C#将字符串转换为整型的三种方法的总结
摘要: 在C#中,要将一个字符串或浮点数转换为整数,基本上有三种方法: (1)使用强制类型转换:(int)浮点数 (2)使用Convert.ToInt32(string) (3)使用int.Parse(string)或int.TryParse(string,out int) 在实际使用时,当要转换的字符串或
阅读全文
posted @ 2020-10-07 16:43 浪漫大尾巴狼
阅读(7876)
评论(0)
推荐(0)
公告