C# Programming
06-01-2011, 01:50 AM
How to extend RectangleF class to have public static function RectangleF Parse(string s); in the similar way as with extension methods when there is no instance variable yet available?
class RectangleF{ public static RectangleF Parse(string s){...} }<div class="signature">
class RectangleF{ public static RectangleF Parse(string s){...} }<div class="signature">