Quantcast
Channel: Common Language Runtime Internals and Architecture forum
Viewing all articles
Browse latest Browse all 1710

Why does Type.IsAbstract return true when reflecting on a static class

$
0
0

For example...

static class A { }

class Program
{
    static void Main(string[] args)
    {
        Type t = typeof(A);
        Console.WriteLine(t.IsAbstract);  // True
    }
}



Viewing all articles
Browse latest Browse all 1710

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>