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
yuvaraj k
NA
51
813
interface and c# Using Values Add...Pls Solve
Aug 4 2015 3:06 AM
//interface and c# Using Values Add
interface add
{
int add(int a, int b);
}
class adds : add
{
public int c;
public int add(int a, int b)
{
c = a + b;
return c;
}
}
///default.cs
adds c1 = new adds();
add val_add = new adds();
val_add.add(15, 15);
Response.Write(c1.c);
Reply
Answers (
8
)
maintain horizontal scroll position on autopostback inside
asp button click