Have a suggestion for a cast topic you'd like to see? Please send your requests to dimecasts@gmail.com

.Net 3.0 Episodes


# 158
1/12/2010
Level: Intermediate
Tags: .Net 3.0 Dot Net
Views: (101)
Watched: (1515)
Downloads: (2427)
Author:
Derik Whittaker
 
Presented By:
Codebetter.com


In this episode we are going to take a look at how create overloaded operators for your objects.

perator overloading permits user-defined operator implementations to be specified for operations where one or both of the operands are of a user-defined class or struct type. When creating your own operators there are many different operators which can be overloaded.

+, -, *, /, %, &, |, <<, >> All C# binary operators can be overloaded
+, -, !, ~, ++, –, true, false All C# unary operators can be overloaded
==, !=, <, >, <= , >= All relational operators can be overloaded, but only as pairs.
Click here to Watch this Episode

Download (19.86 MB) (11:11) (1440x900)
Download (13.45 MB) (11:11) (960x600)
# 14
6/24/2008
Level: Beginner
Tags: .Net 3.0
Views: (137)
Watched: (1809)
Downloads: (3809)
Author:
Derik Whittaker


In this episode we will be exploring a new feature in C# 3.0/.Net 3.5 called Extension Methods.

Extension Methods are a way to allow a developer to extend an object (add new methods) without having to subclass or recompile that object.
Click here to Watch this Episode

Download (16.58 MB) (7:45) (1440x900)
Download (10.40 MB) (7:45) (960x600)