![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C#
wangjingming01
这个作者很懒,什么都没留下…
展开
-
The specified buffer index is not within the buffer capacity.
在对metro环境下对文件压缩测试的时候。下面的代码出现The specified buffer index is not within the buffer capacity.错误。其中 fileToCompress 为 StorageFile。byte[] buffer = WindowsRuntimeBufferExtensions.ToArray(await FileIO.Read原创 2013-03-20 16:08:07 · 1774 阅读 · 0 评论 -
C# ToString格式化类型
“G”和“F”格式说明符)、基础整数值(“D”格式说明符)还是十六进制值(“X”格式说明符)http://msdn.microsoft.com/zh-cn/library/26etazsy.aspx#FormatStrings自定义日期和时间格式字符串http://msdn.microsoft.com/zh-cn/library/8kb3ddd4.aspx 自定义数字格式字符串原创 2013-05-26 15:46:04 · 633 阅读 · 0 评论 -
Okra App Framework 框架导航过程
1,添加一个AppBootstrapper.cs 文件public class AppBootstrapper : OkraBootstrapper{} 2,修改App.xaml.cs文件 sealed partialclass App : OkraApplication { public App()原创 2013-09-25 17:41:44 · 779 阅读 · 0 评论