Some normative suggestions from fxcop
The following code is compiled according to the. NET code specification compiled by fxcop for reference only.I. Design)1.Abstract types shocould not have ConstructorsAbstract classes should not declare
1.1 naming rules 1.1.1 database element naming rules all Use lowercase letters.
Type
Prefix
Example
Description
Form
T
T_bi_city
View
V
V_bi_city
Stored Procedure
P
Http://msdn.microsoft.com/zh-cn/library/ms228593 (vs.80). aspx
C #3.0 specifications and other information can be obtained in http://msdn2.microsoft.com/en-us/vcsharp/aa336745.aspx
Some normative suggestions from fxcop
C #2.0 language specifications
My files in c: \ Program \ Microsoft Visual Studio 8 \ Vc # \ specifications \ 2052
C #3.0 language specifications
Appendix:
Some normative suggestions from fxcopI. Design)1. abstract types shocould not have
Converted from msdn: http://msdn.microsoft.com/zh-cn/library/ms228593 (vs.80). aspx
So much, I can't remember it all at once. I plan to review these specifications frequently. If I have some experience in the following aspects in my daily work or
Title Link: http://acm.hdu.edu.cn/showproblem.php?pid=5294Test Instructions: give you n a tomb, m path, a person in the Tomb of No. 1th (beginning), another person in the tomb of N (end), the beginning of the person only through the shortest path to
Content again rich site, if slow to inaccessible is meaningless; SEO do a good site, if the search spider can not catch is useless; UE design of the re-humanized site, if the user can not see is also empty talk.
What is the most basic thing about
Post requests can only crawl 200 and 404, can not catch other status code, is said to be a cross-domain problem, ask someone encountered? How to solve?
Reply content:
Post requests can only crawl 200 and 404, can not catch other status code, is
I. Examples of common anomalies and scenarios1.AssertionErrorAssertion failure, assertion is common in debugging (means that you do not use ┑ ( ̄д ̄) ┍)Example: def Foo (s): = Int (s) assert'n is zero! ' return / nfoo (0)View CodeThe
Through the URL to crawl the title of the page, some sites do not catch, method stupid, seeking guidance.
This post was last edited by u012716911 on 2013-11-04 11:25:29
The code is my own thinking of writing, I do not know there is no better way.
1. In declarative things, the method of one class ServiceA test1 () calls another class ServiceB method Test2 () if ServiceB test2 () transaction configuration is required in the XML file and added on this method@Transactional (propagation =
This article shares with you the main isPythoncommon mistakes and exceptions and how to deal with them, let's take a look at it and hope toLearningPython has helped. 1. How errors and exceptions are handled 1. Common Mistakes 1. A:Nameerror 2. If
Common class libraries. NET in the stringCharacteristics of strings
1. immutability Because the string is immutable, each time the string is modified, a separate copy of the string is created (a copy of the string is copied). The change is
First, unusual precautionsSimply sort out the following specification for exceptions:1) in the exception handling module should provide accurate, easy-to-read error cause information.2) do not handle exceptions that can be avoided.3) A method should
Do you think you are a Java expert? Are you sure you have a complete grasp of the Java exception handling mechanism? In the following code, can you quickly identify six problems with exception handling?
1. OutputStreamWriter out = ...
2.
Java Exception HandlingExceptions are errors in the program, but not all errors are exceptions, and errors can sometimes be avoided. For example, your code is missing a semicolon, then running out of the result is the hint is error java.lang.Error;
Submit the task to the forkjoin thread pool, the main thread calls the Get method waits for the child thread execution task, once the exception is thrown in a forkjoin child thread, And the child thread does not catch the exception, what happens to
In the code writing process, always feel that they are not so appropriate to handle the exception, on the Internet to find some articles to look at. The records are as follows.
now that the exception is caught, it should be handled appropriately. Do
hierarchy of Exception classes
All exception classes are subclasses that inherit from the Java.lang.Exception class.The anomalies are divided into two types: Error and exception. ERROR
Java programs usually do not catch errors. Errors generally
Morning someone asked run Ming Seo, said the site updated every day, but why the article is included in the title and description of the content and the actual discrepancy? The other is normal, on the Baidu is not the same, I went to open its
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.