---
title: "Oren Ellenbogen rocked last night about Generics, Delegates and Anonymous Methods."
url: "https://osherove.com/blog/2006/5/18/oren-ellenbogen-rocked-last-night-about-generics-delegates-a.md"
canonical: "https://osherove.com/blog/2006/5/18/oren-ellenbogen-rocked-last-night-about-generics-delegates-a.html"
published: "2006-05-18T07:37:00"
updated: "2006-05-18T07:37:00"
tags: [".Net 2.0", "Community"]
author: "Roy Osherove"
description: "Update : His slides and demos are posted here . Last night was a very good meeting of the C#/C++ users group . Oren Ellenbogen spoke about Advanced usage of Generics, delegates and anonymous methods to a crowd who…"
usage: "Licensed under CC BY 4.0 — reuse, quote and adapt with attribution (Roy Osherove, link to the original page)."
license: "https://creativecommons.org/licenses/by/4.0/"
---

# Oren Ellenbogen rocked last night about Generics, Delegates and Anonymous Methods.

By Roy Osherove May 18, 2006 In [.Net 2.0](https://osherove.com/blog/category/net-2-0), [Community](https://osherove.com/blog/category/community)

**Historical article** · Originally published May 18, 2006; technical details may be outdated.

_**Update**: His slides and demos_ [_are posted here_](http://www.lnbogen.com/SlidesDemosFromMyCodeTemplatingPresentation.aspx) .

Last night was a very good meeting [of the C#/C++ users group](http://www.lnbogen.com/ct.ashx?id=f41da746-2cc4-405e-83be-79e348ade5ca&url=http%3a%2f%2fwww.lnbogen.com%2fPresentingAboutAdvanceUseOfDelegatesGenericsInTheNextCGroup.aspx). [Oren Ellenbogen](http://www.lnbogen.com/) spoke about [Advanced usage of Generics, delegates and anonymous methods](http://www.lnbogen.com/ReminderAdvanceUseOfDelegatesGenericsInTheNextCGroup.aspx) to a crowd who really wanted to know. The result - a very informative lecture. Oren mainly covered using Anonymous delegates to send logic to various utility methods (much like the use of Array.ForEach in .NET 2.0 but a couple more scenarios). The best part of the talk was near the end when he covered his rules of **refactoring your code** into using these patterns (which I don't remember fully but He'll blog about them soon).

Oren Promised to put the slides and demos up on his blog, including some code samples and libraries to help unit test these patterns more easily. I'm intrigued.

[](http://www.mindview.net/WebLog/log-0061) 

Good Talk Oren. Keep it up!

## More in .Net 2.0

[All posts in .Net 2.0](https://osherove.com/blog/category/net-2-0)

- May 20, 2006

    ### [Two Powerful Generic Collections And Algorithms Libraries](https://osherove.com/blog/2006/5/20/two-powerful-generic-collections-and-algorithms-libraries.html)

- May 18, 2006

    ### [CLR Generics Vs. C++ Templates - some good links](https://osherove.com/blog/2006/5/18/clr-generics-vs-c-templates-some-good-links.html)

- May 14, 2006

    ### [Small Tip: Getting the name of the current or calling method at runtime for debugging](https://osherove.com/blog/2006/5/14/small-tip-getting-the-name-of-the-current-or-calling-method.html)

- Apr 25, 2006

    ### [Debugger Visualizer for MethodInfo, DynamicMethod, and MethodBase available for download](https://osherove.com/blog/2006/4/25/debugger-visualizer-for-methodinfo-dynamicmethod-and-methodb.html)


---

## About the author

**Roy Osherove**: Senior Solutions Architect at AWS working on AI for production and AI-driven development; author of The Art of Unit Testing and Elastic Leadership, with about 20 years of consulting and training on unit testing, TDD, team leadership and continuous delivery.

### Sites

- [RobotPaper](https://robotpaper.ai/): This blog: AI patterns and anti-patterns, AI and coding agents, and engineering leadership.
- [osherove.com](https://osherove.com): Roy's personal site. Author of The Art of Unit Testing and Elastic Leadership; consulting and training on unit testing, TDD, team leadership and continuous delivery, plus about 20 years of blog posts.
- [The Art of Unit Testing](https://www.artofunittesting.com): The Art of Unit Testing, 3rd Edition (Manning): readable, maintainable, trustworthy unit tests, plus TDD workshops in C#, JavaScript, Java and Kotlin.
- [5whys.com](https://www.5whys.com): Roy's writing on software team leadership: self-organizing teams, surviving chaos, learning mode and the Elastic Leadership model.
- [Pipeline Driven](https://pipelinedriven.org): Continuous delivery and DevOps practices: build patterns, pipeline-friendly testing, DevOps metrics and enterprise DevOps.
- [Elastic Leadership](https://www.elasticleadership.com): Elastic Leadership, Roy's framework for software team leaders (survival, learning and self-organizing modes).

### Social

- X: https://x.com/royosherove
- LinkedIn: https://www.linkedin.com/in/osherove/

### Contact

- Contact form: https://forms.gle/jQSx5KoXvrVA1JCK7

### License

Licensed under CC BY 4.0 — reuse, quote and adapt with attribution (Roy Osherove, link to the original page). License: https://creativecommons.org/licenses/by/4.0/
