TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Display Package in C#
Rajan Singh
Nov 21
2015
Code
869
0
0
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
expand
using
System;
using
System.IO;
class
typeofUsing
{
static
void
Main()
{
Type t =
typeof
(IO);
Console.WriteLine(t.FullName);
if
(t.IsClass) Console.WriteLine(
"Is a class."
);
if
(t.IsAbstract) Console.WriteLine(
"Is abstract."
);
else
Console.WriteLine(
"Is concrete."
);
}
}
Answer:
System.IO.StreamReader
Is a class.
Is concrete.
display package
c#