I see it mentioned here, but I can't work out which using
I have to add to get it.
(Rolled my own for the moment)
Last Updated : 01 May, 2019 In C#, the extension method concept allows you to add new methods in the existing class or in the structure without modifying the source code of the original type and you do not require any kind of special permission from the original type and there is no need to re-compile the original type. It is introduced in C# 3.0.
Subscribe Now Watch EXTENSION METHOD TM Where Fitness Meets Art Designed by dancers, created for all. The Extension Method™ is an innovative program of physical conditioning and rehabilitative techniques based on the fundamentals of classical ballet.
When an extension method is defined with the same name and the signature of the existing method, then the compiler will print the existing method, not the extension method. Or in other words, the extension method does not support method overriding. You can also add new methods in the sealed class also using an extension method concept.
When an extension method is defined with the same name and the signature of the existing method, then the compiler will print the existing method, not the extension method. Or in other words, the extension method does not support method overriding.
It is in:
using System.Reactive.Linq;
You need to add reference to System.Reactive.dll. Then in code write:
using System.Linq;
UPDATE: Now Rx is available as separate extensions. There are 3 versions of Rx: Rx for .NET 3.5 Sp1, Rx for Silverlight 3 and Rx for .NET 4 Beta 2. All 3 versions can be downloaded from the Devlabs Rx project page.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With