Tutorial by Topics: code

Each implementation of Equals must fulfil the following requirements: Reflexive: An object must equal itself.x.Equals(x) returns true. Symmetric: There is no difference if I compare x to y or y to x - the result is the same. x.Equals(y) returns the same value as y.Equals(x). Transit...
<script type="text/javascript"> //some code </script> <script type="text/javascript" src="URL"></script> <script type="text/javascript" src="URL" async>//async code</script> AttributeDetailssrcSpecifies t...
ParameterDetailsexprIn case the "try part" was completed successfully tryCatch will return the last evaluated expression. Hence, the actual value being returned in case everything went well and there is no condition (i.e. a warning or an error) is the return value of readLines. Note that ...
No matter what linter you choose every JavaScript Project should use one. They can help find error and make code more consistent. For more comparisions check out comparison JavaScript linting tools
Entity Framework Code-First provides a set of DataAnnotation attributes, which you can apply to your domain classes and properties. DataAnnotation attributes override default Code-First conventions. System.ComponentModel.DataAnnotations includes attributes that impacts on nullability or siz...
Contract.Requires(Condition,userMessage) Contract.Requires(Condition,userMessage) Contract.Result<T> Contract.Ensures() Contract.Invariants() .NET supports the Design by Contract idea via its Contracts class found in the System.Diagnostics namespace and introduced in .NET 4.0....
The most tricky part is finding description for error codes. This site has a most complete list of codes I've found so far. Below you can find a copy cleaned of "@@@"s. Error NumberError Description3Return without GoSub5Invalid procedure call or argument6Overflow7Out of memory9Subscri...
A Warning on Filename Encoding It should be worth mentioning that Filename Encoding is not only platform specific but also filesystem specific. It is never entirely safe to assume (but often usually is) that just because you can encode and write to a given filename, that when you later try t...

Page 2 of 7