Page 23 - CSharp/C#
P. 23
Syntax 391
Parameters 391
Remarks 391
Examples 391
Generate a random int 391
Generate a Random double 392
Generate a random int in a given range 392
Generating the same sequence of random numbers over and over again 392
Create multiple random class with different seeds simultaneously 392
Generate a random character 393
Generate a number that is a percentage of a max value 393
Chapter 64: Generic Lambda Query Builder 394
Remarks 394
Examples 394
QueryFilter class 394
GetExpression Method 395
GetExpression Private overload 396
For one filter: 396
For two filters: 397
ConstantExpression Method 397
Usage 398
Output: 398
Chapter 65: Generics 399
Syntax 399
Parameters 399
Remarks 399
Examples 399
Type Parameters (Classes) 399
Type Parameters (Methods) 400
Type Parameters (Interfaces) 400
Implicit type inference (methods) 401
Type constraints (classes and interfaces) 402

