Tutorial by Topics: as

public static IEnumerable<T> Query<T>(this IDbConnection cnn, string sql, object param = null, SqlTransaction transaction = null, bool buffered = true) public static IEnumerable<dynamic> Query (this IDbConnection cnn, string sql, object param = null, SqlTransaction transaction =...
In C#, a method declared async won't block within a synchronous process, in case of you're using I/O based operations (e.g. web access, working with files, ...). The result of such async marked methods may be awaited via the use of the awaitkeyword. An async method can return void, Task or Tas...
Purpose And Use Cases The purpose of the Task Parallel Library is to simplify the process of writing and maintaining multithreaded and parallel code. Some Use Cases*: Keeping a UI responsive by running background work on separate task Distributing workload Allowing a client application ...
SpeechRecognitionEngine() SpeechRecognitionEngine.LoadGrammar(Grammar grammar) SpeechRecognitionEngine.SetInputToDefaultAudioDevice() SpeechRecognitionEngine.RecognizeAsync(RecognizeMode mode) GrammarBuilder() GrammarBuilder.Append(Choices choices) Choices(params string[] choices) Grammar(G...
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...
ParameterDetailsParamsthe type of the parameters sent to the task upon execution.Progressthe type of the progress units published during the background computationResultthe type of the result of the background computation.
All control structures, unless otherwise noted, make use of block statements. These are denoted by curly braces {}. This differs from normal statements, which do not require curly braces, but also come with a stiff caveat in that only the line immediately following the previous statement would b...
public type name[ = value]; private type name[ = value]; protected type name[ = value]; type name[ = value]; public class name{ class name{ From the Java tutorial: Access level modifiers determine whether other classes can use a particular field or invoke a particular method. There a...
This documentation page is for showing details with example about java class constructors and about Object Class Methods which are automatically inherited from the superclass Object of any newly created class. public final native Class<?> getClass() public final native void notify() pu...
Date object = new Date(); Date object = new Date(long date); ParameterExplanationNo parameterCreates a new Date object using the allocation time (to the nearest millisecond)long dateCreates a new Date object with the time set to the number of milliseconds since "the epoch" (Januar...
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.
Nashorn is a JavaScript engine developed in Java by Oracle, and has been released with Java 8. Nashorn allows embedding Javascript in Java applications via JSR-223 and allows to develop standalone Javascript applications, and it provides better runtime performance and better compliance with the ECMA...
JavaScript (not to be confused with Java) is a dynamic, weakly-typed language used for client-side as well as server-side scripting. JavaScript is a case-sensitive language. This means the language considers capital letters to be different from their lowercase counterparts. Keywords in JavaScri...
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...
Haskell is an advanced purely-functional programming language. Features: Statically typed: Every expression in Haskell has a type which is determined at compile time. Static type checking is the process of verifying the type safety of a program based on analysis of a program's text (source...
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...

Page 1 of 40