摘要:
string str= “12345”;char[] ch = str.ToArray();//把文本框你的内容转换为char类型数组Array.Reverse(ch, 0, str.Length);//使用Array类的Reverse方法颠倒数据str2 = new StringBuilder() 阅读全文
posted @ 2020-05-21 15:16
剑存古风
阅读(1163)
评论(0)
推荐(0)
摘要:
Guid.NewGuid()一般用于随机ID的创建 Guid.NewGuid().ToString()的几种格式 1、Guid.NewGuid().ToString("N") 结果为: 38bddf48f43c48588e0d78761eaa1ce6 2、Guid.NewGuid().ToStrin 阅读全文
posted @ 2020-05-21 14:01
剑存古风
阅读(4383)
评论(0)
推荐(1)
摘要:
1:更新驱动,MongoDB.Driver 、MongoDB.Driver.Core 、MongoDB.Bson 统统更新至2.7.0版本 2:初始化MongoDB,对象database 3:获取所有集合collection: 4:创建接收数据的对象 阅读全文
posted @ 2020-05-21 13:42
剑存古风
阅读(1356)
评论(0)
推荐(0)
摘要:
错误:The GuidRepresentation for the reader is CSharpLegacy, which requires the binary sub type to be UuidLegacy, not UuidStandard 三种解决方案: 1、修改全局配置 BsonD 阅读全文
posted @ 2020-05-21 13:07
剑存古风
阅读(437)
评论(0)
推荐(0)

浙公网安备 33010602011771号