Date: Wednesday,
Place: Microsoft
Hapnina 2 (
Ground Floor
Raanana
+972 (9) 762-5100
Parking available at the Kurkar parking lot. Proceed straight past the traffic circle and the parking lot will be on your right.
Topic: Advanced Use of Delegates and Generics
Lecturer: Oren Ellenbogen
- Looking at a "simple" scenarios of recurrent code
- Check if a value exists in a collection.
- Get the item index in a collection.
- Filtering a collection (get only some of the items based on a condition).
- Manipulating every item in the collection (string concatenation for example).
- Check if a value exists in a collection.
- Looking at "advanced" scenarios of recurrent code
- Querying the database.
- Exception handling.
- Querying the database.
- Discuss solutions for further abstraction in those scenarios.
- Introduce "Code Templating" – separating the unique code from the recurrent code.
- Before we start, getting to know our toolbox: generics & delegates
- What are they?
- Calling a delegate which was given as parameter – understand the benefits.
- Anonymous delegates\methods – how & why
- What's going on under the hood?
- What are they?
- Examples of Code Templating in .Net 2.0
- Handle those "simple" scenarios via List<T>.Find, List<T>. FindAll, List.<T>.Exists etc…
- Handle those "simple" scenarios via List<T>.Find, List<T>. FindAll, List.<T>.Exists etc…
- Refactor (live!) the "advanced" scenarios, step-by-step.
- Code Templating - What do we gain? What can we lose?
- Q & A
Oren Ellenbogen is a Team Leader at SQLink's R&D Department. Oren's responsibilities and areas of expertise span from Analyzing and Designing Web Applications to developing innovative coding enhancement tools. Oren's project leading at SQLink involves all stages and forms from team leadership to high level consulting.