I haven't written a blog for a long time. It seems that I have to continue to write for the notebook later. If I write it, at least it indicates that I am still learning!
Nullable
For example, Int?
1. In binary operations, if one operand is null,
Division in C # does not retain the decimal point by default. Let's take a look at the following results.
Decimal result = 100/1000; // result = 0;
The decimal point must be retained.
Decimal result = 100 m/1000;
M represents decimal.
What
C ++
------- What is synchronization, what is asynchronous, and what is blocking? Non-blocking?
Visit various forums,
Comprehensive views,
My opinion is posted here,
If people in the community are confused,
Younger brother will remember for
When I use template function in my class TestClass. The complier will throw out a Link Error below.
TestClass. h
template T foo(T a, T b);
TestClass. cpp
template T TestClass::foo(T a, T b) {return a;}
Client. cpp
TestClass
Document directory
Iterator type
Pointer iterator
Container iterator
Constant iterator
Iterator
The iterator provides an access method for objects in a container and defines the range of objects in the container. The iterator is like a pointer.
1. Set the web. config file.
RequestEncoding = "gb2312" responseEncoding = "gb2312" culture = "zh-CN" fileEncoding = "gb2312"/>
Or:In the aspx file:
2. Before passing Chinese characters, encode the Chinese parameters to be passed and decode them
1. Reference namespace
Vb:
Imports System. Web. Script. Serialization
C #:
Using System. Web. Script. Serialization
2. Create an object (serializable). For example, the object name is obj.
3. Define the IList object and add the corresponding
I recently read Lao Zhao's blog on "development trends and future directions of programming languages". Due to my limited level, I still cannot express my own views and opinions on the development trends of programming languages, just in my spare
Question: The bonus paid by an enterprise is based on the profit.
If the profit is lower than or equal to 0.1 million yuan, the bonus can be increased by 10%;
If the profit is higher than 0.1 million RMB, if the profit is lower than 0.2 million RMB,
The difference between ref and out is that in C #, you can pass parameters either by value or by reference. You can pass a parameter through reference to allow function members to change the parameter value and keep the change. To pass parameters
International regulations: divide all IP addresses into A, B, C, D, E
Class A address: the range from 0 to 127,0 indicates that all IP addresses are retained, and 127 indicates that all IP addresses are retained and used to test the round-robin.
C #3.0 in my eyes
Written by Allen Lee
Origin
Every time a new technology is released, we can always feel two completely different emotions: fear and resistance, and with such emotions, "C #2.0 is quite useful, why is it so complicated in C #3.0?
Document directory
4. The client receives the file
C # network programming (receiving files)-Part.5
The rest of Part.4 will be completed in this article. They are a complete article. However, because the previous article is long and the number of
1. You can use the csc.exe compiler to compile the source file.
The most convenient way is to start running-> Program-> VS Tools-> VS command promptRun in the directory:Csc fileName. cs
Or, after the corresponding environment variables are
Read statement:
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->String str = ConfigurationManager.AppSettings["DemoKey"];
Write statement:
Code highlighting produced by Actipro
Static Keywords of C ++
The static function of C ++ has two usage methods: static in process-oriented programming and static in object-oriented programming. The former applies to common variables and functions, and does not involve classes. The
Reference: [Chen guang Video]
Access Control modifier:
Access Control Modifier
Class
Subclass
In the Assembly
Outside assembly
Default
√
Public
√
√
√
√
Private
√
// Delegate defines only rules and has no entity at all. It should be called a method interface.// Test 3. Add an internal call to the method variable
Using System;Using System. Collections. Generic;Using System. Text;
Namespace
One article was very well written and corrected some common mistakes in understanding:
An Intro Constructor in C #
Key points:Constructor is an object method used to initialize an object.There can be multiple constructor, but each one has at
It is known that there is an XML file (bookstore. xml) as follows:
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->
Oberon's Legacy
Corets, Eva
5.95
1. Insert a node to the node:
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service