Tutorial by Topics: se

Do not use the XmlSerializer to parse HTML. For this, special libraries are available like the HTML Agility Pack
\' — single quote (0x0027) \" — double quote (0x0022) \\ — backslash (0x005C) \0 — null (0x0000) \a — alert (0x0007) \b — backspace (0x0008) \f — form feed (0x000C) \n — new line (0x000A) \r — carriage return (0x000D) \t — horizontal tab (0x0009) \v — vertical tab (0x000B) \u0000 ...
Objects have states and behaviors. Example: A dog has states - color, name, breed as well as behaviors – wagging the tail, barking, eating. An object is an instance of a class. Class − A class can be defined as a template/blueprint that describes the behavior/state that the object of its type suppo...
A Service runs in background to perform long-running operations or to perform work for remote processes. A service does not provide any user interface it runs only in background with User’s input. For example a service can play music in the background while the user is in a different App, or it migh...
The Executor interface in Java provides a way of decoupling task submission from the mechanics of how each task will be run, including details of thread use, scheduling, etc. An Executor is normally used instead of explicitly creating threads. With Executors, developers won't have to significantly r...
As of Java 8, Calendar and its subclasses have been superseded by the java.time package and its subpackages. They should be preferred, unless a legacy API requires Calendar.
JavaScriptSerializer vs Json.NET The JavaScriptSerializer class was introducted in .NET 3.5 and is used internally by .NET's asynchronous communication layer for AJAX-enabled applications. It can be used to work with JSON in managed code. Despite the existence of the JavaScriptSerializer class,...
class Foo {} class Foo extends Bar {} class Foo { constructor() {} } class Foo { myMethod() {} } class Foo { get myProperty() {} } class Foo { set myProperty(newValue) {} } class Foo { static myStaticMethod() {} } class Foo { static get myStaticProperty() {} } const Foo = class Foo {}; c...
The SELECT statement is at the heart of most SQL queries. It defines what result set should be returned by the query, and is almost always used in conjunction with the FROM clause, which defines what part(s) of the database should be queried. SELECT [DISTINCT] [column1] [, [column2] ... ] F...
new Promise( /* executor function: */ function(resolve, reject) { }) promise.then(onFulfilled[, onRejected]) promise.catch(onRejected) Promise.resolve(resolution) Promise.reject(reason) Promise.all(iterable) Promise.race(iterable) Promises are part of the ECMAScript 2015 specificatio...
This is a set of examples highlighting basic usage of SQL Server. VersionRelease DateSQL Server 20162016-06-01SQL Server 20142014-03-18SQL Server 20122011-10-11SQL Server 2008 R22010-04-01SQL Server 20082008-08-06SQL Server 20052005-11-01SQL Server 20002000-11-01
class Name #some code describing the class behavior end Class names in Ruby are Constants, so the first letter should be a capital. class Cat # correct end class dog # wrong, throws an error end
Metaclasses allow you to deeply modify the behaviour of Python classes (in terms of how they're defined, instantiated, accessed, and more) by replacing the type metaclass that new classes use by default. When designing your architecture, consider that many things which can be accomplished with...
The HTML5 standards does not list the main element as a sectioning element.
All searching algorithms on iterables containing n elements have O(n) complexity. Only specialized algorithms like bisect.bisect_left() can be faster with O(log(n)) complexity.

Page 1 of 54