随笔分类 - C#
摘要:Imagine that you’ve just been struck by inspiration for your next great app. You might start by jotting some notes and sketching out screens. If you’r
阅读全文
摘要:cmd > cd ... dotnet myapp.dll
阅读全文
摘要:using System; using System.Diagnostics; namespace WriteToAnEventLog_csharp { /// Summary description for Class1. class Class1 { static void Main(strin
阅读全文
摘要:Sending the Access-Control-Allow-Origin header allows basic cross-origin access, but calling ASP.NET services like ASMX ScriptServices, ASPX page meth
阅读全文
摘要:Private static IEnumerable<T> FunDemo(T para) { while(...) { .... yield return Obj; } } static main(arg[] arg) { IEnumerable<T> list=FunDemo(para); fo
阅读全文
摘要:[DotnetSpider 系列目录] 一、初衷与架构设计 二、基本使用 三、配置式爬虫 四、JSON数据解析与配置系统 五、如何做全站采集 为什么要造轮子 同学们可以去各大招聘网站查看一下爬虫工程师的要求,大多是招JAVA、PYTHON,甚至于还有NODEJS,C++;再或者去开源中国查询C#的爬
阅读全文
摘要:What's It Do? The application consists of two components: A Custom Vision Service project that allows you to build a custom image classifier to detect
阅读全文
摘要:功能一、将语音转成文字发送短信(有微软认知、百度认知、云片短信API) 功能二、直接将音频发送到微信 不废话,直接送个包 链接: https://github.com/JaviZhu/KLCN.SpeechCognize.Github
阅读全文
摘要:音频转换: 1.转换amr到mp3: 2.转换amr到wav: 3.转换mp3到wav: 4.转换wav到amr: 5.转换wav到mp3: 视频转换: 1.转换wmv到mp4: 2.抓取H264视频流: 2.1 vbsf为过滤方法,即将flv规定的H264组织方式转换回H264协议书规定的字节流格
阅读全文
摘要:1. HttpWebRequest类的Proxy属性,只要设置了该属性就能够使用代理了,如下: 1 //设置代理 2 WebProxy WP = new WebProxy("41.76.44.76", 3128); 3 ICredentials jxCredt = new NetworkCreden
阅读全文
摘要:Introduction By using Optical Character Recognition (OCR), you can detect and extract handwritten and printed text present in an image. The API works
阅读全文
摘要:行为驱动开发(BDD) - 一个快速的描述和示例 BDD表示乙 ehavior ð里文ð才有发展。用于描述行为的语法是Gherkin。 这个想法是尽可能自然地描述一种语言应该发生什么。 如果你熟悉单元测试,并且很容易编写单元测试,那么你熟悉它们的阅读方式。根据测试需要覆盖的程度,可以很难弄清楚它的作
阅读全文
摘要:NET Core 2.0的发布时间,.NET Core 2.0预览版及.NET Standard 2.0 Preview大概在5月中旬或下旬发布。 .NET Core 2.0正式版本发布时间大约在Q3 2017发布,具体我估计大概在8月份左右。同时一起发布的也就是.NET Standard 2.0。
阅读全文
摘要:此版本的.NET Standard现在支持大约33K的API,与.NET Standard 1.x支持的14K API相比。好的是大部分API来自.NET Framework。这使得生活更容易将代码移植到.NET标准。下面的图片给出了.NET Framework API的总结,这些API现在包含在.
阅读全文
摘要:Bots are everywhere nowadays, and we interact with them all of the time. From interactions on our phones, in chat rooms, in GitHub discussions, and Sl
阅读全文
摘要:今天我们很高兴地宣布发布第一个预览的Visual Studio 2017工具的Azure功能。这个预览介绍了一些令人兴奋的变化,我们以前的版本。此外,除了支持Visual Studio 2017之外, 启用创建带来比基于脚本的功能更好的冷启动性能预编译的C#的功能,并打开的Visual Studio
阅读全文
摘要:在C#中引入HashSet 在.NET框架中,有几个类可用于执行这些操作。一些课程如下: 列表 字典 哈希集 队列 集合 在C#编程中,像ArrayList,List这样的集合,只需添加其中的值,而不检查任何重复。为了避免这种重复的数据存储,.NET提供集合名称集。这是一个具有不同项目的集合类型。
阅读全文
摘要:它是C#引入的新类型,它的特点是申明为dynamic类型的变量,不是在编译时候确定实际类型的, 而是在运行时。 所以下面的代码是能够通过编译的,但是会在运行时报错: 上面代码内部处理的过程是怎样的呢? 首先, dynamic类型赋值为字符串"test", 运行++操作的时候,.net会去寻找当前的赋
阅读全文
摘要:public class Common { public override int GetHashCode() { return base.GetHashCode(); } public override bool Equals(object obj) { ...
阅读全文
摘要:Inheritance Hierarchy System.Object System.Tuple Methods NameDescription Create<T1>(T1) Creates a new 1-tuple, or singleton. Create<T1, T2>(T1, T2) Cr
阅读全文

浙公网安备 33010602011771号