You can only build extensions for objects...
something like that:
class Program
{
static void Main(string[] args)
{
string x = "Hello World";
x.DisplayNow();
}
}
public static class StringExtension
{
public static void DisplayNow(this string source)
{
Console.WriteLine(source);
}
}
but i've never seen how u can extend a struct or a class which has never been initialized.