|
|
|
|
|
|
| |
[007] Generic class |
21/04/2013 |
|
The Generic class enables defining a safe-type structures without indicating specific type at all.
In the next code we can see how to define Generic class that gets a general paramater of the the type T and executes operations accordingly the getting type. |
|
Download: | Explanation |
|
|
|
|
|
| |
[009]LINQ To Objects:Retrieving data from an array |
26/01/2018 |
|
LINQ language-integrated query technology enables accessing to any object as a data source, to which we can send SQL queries.
In the next code we can see querying a string array by using the var variable ,that implicitly changes its type according to the data type. |
|
Download: | Explanation |
|
|
|
| |
[010]LINQ To Objects:Retrieving data from a class collection |
26/01/2018 |
|
LINQ (language-integrated query (technology enables retrieving data from collections.
In the next code we can see retrieving data from a List collection, that contains data of the type Customer, with a customer id and customer name.
In the code we will print all the customers details that their customer id is smaller than 25 and their name is Doron Amir. |
ORDER NOW |
|
|
|
|
|
| |
|
|