Click here to Skip to main content
15,558,870 members
Articles / Programming Languages / C#

Stats

39.6K views
165 downloads
14 bookmarked

Operator Overloading with Generics - Using Inheritance to Allow Use of C# Operators (C# 2005)

Rate me:
Please Sign up or sign in to vote.
3.70/5 (9 votes)
1 Oct 2006CPOL2 min read
An article on how to use C# operators on the parameter types in your generic code (normally the compiler does not allow this). This solution just uses inheritance, so is fairly easy to maintain.

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Web Developer
United Kingdom United Kingdom
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions