Beginner's note (passing parameters of the C # method ),
When declaring a method, the defined parameters are formal parameters (hereinafter referred to as form parameters). The values of these parameters are transmitted by the caller, And the caller
C # Assembly series 13: how to let CLR select different versions of the Assembly,
This article describes how to select the version assembly to run and switch the assembly version if multiple version Assembly versions exist.
Generate different
Replace accessible data members with properties.
Since version 1.0, c # has made a series of enhancements to its attributes to improve its expressive ability. You can specify different access permissions for setter and geter. At the same time,
C # Assembly generation 09, assembly signature,
In "C # Assembly generation 08, setting the assembly version", you can set the version for the Assembly, but it is far from enough for the Assembly Security. This document describes how to use the
Hello World, knockouthello
Learning KnockOut Hello World
I just started learning KnockOut. The content is equivalent to a learning note. In addition, I would like to pay tribute to the official website and like their Live Example forum, which
An outstanding WinForm GUI Library source code for screen weight painting, winformgui
Demonstration of basic controls
ScrollBar
Various circular progress bars
ProgressBar progress bar
Mdi demonstration, similar to Google browsers
Unity-Basic-sky box, unity-sky boxThere are two ways to add a sky box
1: add it to the current camera. (If there are multiple cameras in the world, you can use this method to switch the camera to view different skies.)
2: add in the current
ArcEngine implements capturing nodes and arcengine captures nodes.
From: http://blog.sina.com.cn/s/blog_4d0b75870100o960.html
// Obtain the nearest node and display it in OnMouseMove
// Pnt: move the cursor
// MapSize: Specifies the geographic range.
C # Assembly series 03, referencing multiple modules,
We often reference assembly in projects. Generally, an Assembly contains one module, but an assembly can also contain multiple modules. This article will show you how to reference multiple
C # Assembly generation 04: Understand the keyword internal when the Assembly contains multiple modules,
This article describes how to use internal when an Assembly contains multiple modules.
→ View files in the as folder of drive FDelete mainclass.
C # summary of how the sub-thread updates the UI control,
Controls are often updated in child threads in winform C/S programs. The UI thread of the desktop program is the main thread, when you try to directly modify the control attributes from a
Unit Test, unittest
Private methods must be called for exposed methods. When exposed methods are tested, private methods are also tested. If not, is there a problem with code refactoring?
The purpose of unit testing is to ensure that all
C # various Exception Handling Methods,
. NET exception handling mechanism is used to detect and handle runtime errors. If a developer does not provide an exception handling mechanism, the. NET mechanism is used by default.
Usually try... catch..
Use the simplest example to understand Composite Pattern and compositepattern.
The composite mode is very good when the tree structure is displayed. This document shows the following Department structure:
In the preceding example, some nodes
Use the simplest example to understand Memento Pattern and mementopattern.
In short, the memorandum mode supports rollback. Suppose a Notepad supports the rollback operation. How can this problem be achieved?
First, a memorandum class is required.
C # WinForm capture unprocessed exceptions,
Using System; using System. collections. generic; using System. windows. forms; using System. IO; namespace GobalException {static class Program {/// /// main entry point of the application. ///
Use Microsoft Unity for logging and unity Logging
Logs need to be recorded in the following aspects: when entering the method, when passing parameters, calculating the execution time, when the method returns parameters, when exiting the statement
Design principles of design patterns (II) and design patterns
I haven't written a blog for a long time. Because I have been busy with a website recently and have no time to write it, I am sorry to my friends here. Today is also the Mid-Autumn
C # Batch File compressionToday, I changed the function of a website. The website provides some materials. Each page corresponds to a set of materials. If a Member downloads the materials one by one, the website interaction is a little poor. The
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.