it is sometimes useful to know if a sorting algorithm is stable A sorting algorithm is stable if it preserves the original
Amplifier Classes
Amplifier Class Description Conduction Angle Class-A Full cycle 360o of Conductionvery low efficiency at around 30% θ = 2π Class-B Half cycle 180o of Conduction θ = π
Audio amplifier and I2S DAC
The sound wave is converted into data through a series of snapshot measurements, or samples. A sample is taken at a particular time
CMake
First, modify the CMakeLists.txt file to use the project() command to set the project name and version number. The easiest way to enable support for a
Windows Subsystem for Linux (WSL)
install wsl get all avialable or online Distributions shutdown and boot you can install windows terminal application for esier work visual studio
vcpkg
Vcpkg helps you manage C and C++ libraries on Windows, Linux and MacOS. This tool and ecosystem are constantly evolving, and we
Bluetooth Low Energy (BLE)
Bluetooth Low Energy also works on the same 2.4 GHz ISM frequency band. What this means is that a single antenna can
Reflections and Attributes
The .NET reflection services allow you to discover, using APIs from the System.Reflection namespace, the same information that you can see with the tools mentioned
Delgates , Events And Lambda expressions
Delegates A delegate is defined using the delegate keyword. The declaration looks like a function signature, but the compiler actually introduces a class that can hold references
Collections
IEnumerable and IEnumerator IEnumerable is an interface defining a single method GetEnumerator() that returns an IEnumerator interface.This works for readonly access to
Generic
Generic types Variant generic interfaces A covariant type parameter is declared with the out keyword and allows an interface method to have a return type that is
Object-Oriented Programming
Virtual members In the preceding example, we have seen a virtual method. This is a method that has an implementation in a base class
Structures , Enumerations and Namespaces
Structures Value types are defined using the struct keyword instead of class. In most aspects, structures are identical to classes and the characteristics presented in
Classes and Objects
Classes Fields Methods An access modifier: This specifies the visibility of the method. This is optional and private by default. Modifiers such as virtual, abstract, sealed, or static A return
control statements
switch is only used with values types try,catch,finally foreach goto yield return and yield break disposing with using block
Datatypes and Operators
data types are provided in the System namespace. All of them, however, have a C# alias. These aliases are keywords in the C# language The