上一页 1 ··· 69 70 71 72 73
摘要: StringBuilder sb=new StringBuilder(); sb.AppendLine("The world is fair and wonderful.Everything depend on myself"); sb.AppendLine("Stay focused and ke 阅读全文
posted @ 2016-06-03 22:42 FredGrit 阅读(993) 评论(0) 推荐(0) 编辑
摘要: string str="The key factors are \"focus\" and \"perseverance\""; string str = "All finished.\n\n\n\n \a"; string str = @"This world is fairand everyth 阅读全文
posted @ 2016-06-03 22:35 FredGrit 阅读(292) 评论(0) 推荐(0) 编辑
摘要: BigInteger bi=Bigger.Parse("999999999999999999999999999999999999999999999999999999999999999999999999999999"); Console.WriteLine(bi); Console.WriteLine 阅读全文
posted @ 2016-06-03 22:09 FredGrit 阅读(170) 评论(0) 推荐(0) 编辑
摘要: IsWhiteSpace(String, Int32) 指示指定字符串中位于指定位置处的字符是否属于空格类别。 TimeSpan TimeSpan ts=new TimeSpan(4,30,0); Console.WriteLine(ts); Console.WriteLine(ts.Subtrac 阅读全文
posted @ 2016-06-03 21:58 FredGrit 阅读(303) 评论(0) 推荐(0) 编辑
摘要: 1.添加引用Microsoft.Practices.Prism.Mvvm.dll,Microsoft.Practices.Prism.SharedInterfaces.dll; 2.新建文件夹,View,ViewModel,View中添加新项FirstView.XAML(Window页面),在Vie 阅读全文
posted @ 2016-05-31 21:30 FredGrit 阅读(512) 评论(0) 推荐(0) 编辑
摘要: System.BadImageFormatException: 试图加载格式不正确的程序。 (异常来自 HRESULT:0x8007000B)项目右键属性->项目设计器->生成->平台->把'默认设置(任何 CPU)'改为x86。因为'任何 CPU'的程序在64位的机器上就会用运行为64位,而64程 阅读全文
posted @ 2016-05-27 14:36 FredGrit 阅读(9856) 评论(0) 推荐(1) 编辑
摘要: FileInfo[] fileList=new DirectoryInfo("C:\\").GetFiles("*.*");遍历文件 阅读全文
posted @ 2016-05-26 22:18 FredGrit 阅读(161) 评论(0) 推荐(0) 编辑
摘要: 直接 Application.Current.Shutdown();关闭程序。 阅读全文
posted @ 2016-05-26 17:23 FredGrit 阅读(1081) 评论(0) 推荐(0) 编辑
摘要: <Button x:Name="btnPickUpNum" Click="PickUpNum_OnClick" Grid.Row="1" Grid.Column="2"> <Button.Template> <ControlTemplate TargetType="Button"> <Content 阅读全文
posted @ 2016-05-26 14:56 FredGrit 阅读(463) 评论(0) 推荐(0) 编辑
上一页 1 ··· 69 70 71 72 73