Because it's not often used , The teacher forgot how to declare .. Write it down this time , One day I use it and forget it, I'll turn it over

Main code

  IDictionary<string, string> openWith =
new Dictionary<string, string>(); // Add some elements to the dictionary. There are no
// duplicate keys, but some of the values are duplicates.
openWith.Add("txt", "notepad.exe");
openWith.Add("bmp", "paint.exe");
openWith.Add("dib", "paint.exe");
openWith.Add("rtf", "wordpad.exe");

Microsoft official documents :https://oapi.dingtalk.com/gettoken?appkey=key&appsecret=secret

IDictionary Use / More related articles on the statement

  1. RabbitMQ Statement Queue The parameters of the Power

    The parameters are Power There are many parameters when declaring a queue public static QueueDeclareOk QueueDeclare(this IModel model, string queue ...

  2. RabbitMQ Explain the parameters when declaring the queue

    Reference link :http://www.rabbitmq.com/releases/rabbitmq-dotnet-client/v3.6.6/rabbitmq-dotnet-client-3.6.6-cli ...

  3. System.Collections.IDictionary.cs

    ylbtech-System.Collections.IDictionary.cs 1. Assembly mscorlib, Version=4.0.0.0, Culture=neutral, PublicKe ...

  4. Fis3 The road of front-end engineering [ The statement of the three characteristics depends on ]

    Fis3 edition :v3.4.22 Fis3 Three characteristics of Resource positioning : Get the online path to any resources used in development Content embedding : Put the contents of a document ( Text ) perhaps base64 code ( picture ) Embedded in another file Dependency statement : In a text ...

  5. Js Variable declaration promotion and function declaration Promotion

    Js The code is divided into two phases : Compile phase and execution phase Js The compile phase of the code finds all the declarations , And associate them with the appropriate scope , This is the core of lexical scope Include variable declaration (var a) And function declaration (function a(){ ...

  6. 【WCF】 Wrong agreement statement

    In the last bad article , Lao Zhou introduced IErrorHandler Use of interfaces , today , Lao Zhou added a knowledge point about error handling —— Wrong agreement . Wrong agreement and IErrorHandler The interface is different , You guys should remember , Last time we ...

  7. HTML The document statement

    In front of the word   HTML Documents usually start with type declarations , This statement will help the browser determine what it is trying to parse and display HTML The document type . This article details the document declaration DOCTYPE characteristic    The document declaration must be HTML The first line of the document . And the top grid shows , ...

  8. Hibernate In the transaction statement

    Hibernate in JDBC Transaction statement , stay Hibernate Add the following code to the configuration file , No statement Hibernate The default is JDBC Business . One JDBC Cannot span multiple databases . Hibernate in JTA Business voice ...

  9. MFC Declaration order and deconstruction order of member variables in

    For the first time with blogs , The first essay , Let's write about a problem we met today . stay VS2008 Of MFC Dialog program , Window member variables are declared in the reverse order of their destructions , namely , Declared variables before destructing , The later declared variables are destructed first . Not tested in other modes . cla ...

Random recommendation

  1. Java serialize Deserialization Historical version processing

    Direct reference   http://www.cnblogs.com/xdp-gacl/p/3777987.html

  2. js obtain select Change events

    js obtain select Change events onchage The value of the former and onclick event <select id="wupin_id" name="wupin_id" on ...

  3. 【Todo】Nginx Architecture learning

    To carry out Web service , What you can't get around is Nginx. This is the standard configuration for large websites . Yes Nginx Have a certain degree of in-depth study . http://www.ituring.com.cn/article/4436 http://bl ...

  4. Axis2 java call .net webservice Interface issues ( Zhengzhou is just a city )

    It's an old question , Since I met such a problem a few years ago, it is a solution : Try again and again . In fact, what is the standard , Standard is a fetter , A fetter of established rules , A little wrong , Your call may not succeed , If you don't succeed, you have to spend a lot of effort to find out why ...

  5. poj2039--- Write c++reverse function , And output the first one of each row in turn 、 the second .....

    #include <stdio.h> #include <stdlib.h> #include <string.h> void reverse(char *p1,c ...

  6. Bluetooth 2.1+EDR What is it?

    At present, the most widely used is Bluetooth 2.0+EDR standard , The standard is in 2004 It has been launched in , Support Bluetooth 2.0+EDR Standard products are also available in 2006 There are a lot of . although Bluetooth 2.0+EDR ...

  7. tencent x5Webview Instead of native android Webview

    One . Official address : https://x5.tencent.com/tbs/ Two . No need to apply for developers ,QQ Direct login , Download and integrate into the project . 3、 ... and . With the original webview Comparative advantage 1) Fast : Compared to the system webvi ...

  8. [python]python3.7 Chinese Manual

    https://pythoncaff.com/docs/tutorial/3.7.0

  9. ( turn )EF5+SQLserver2012 Migrate to EF6+mysql5.5.47

    Original address :https://www.cnblogs.com/tinyjian/p/6235014.html:https://www.cnblogs.com/tinyjian/p/6235397.html ...

  10. About the test in development

    Unit test: Specify and test one point of the contract of single method of a class. This should have ...