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
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Seshadri M
NA
69
17.7k
Class Inheritance
Jun 2 2017 3:24 AM
class Baseclass
{
int i;
public Baseclass(int ii)
{
i = ii;
Console.Write("Base \n");
}
}
class Derived : Baseclass
{
public Derived(int ii)
{
Console.Write("Derived \n");
}
}
class MyProgram
{
static void Main(string[ ] args)
{
Derived d = new Derived(10);
}
}
I am getting output as Derived
but i need to get output
Base
Derived
Reply
Answers (
2
)
How to get Column names by passing table name in mvc
why use new in c#