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
Richard Brennan
NA
114
85.4k
return types
May 4 2011 12:28 PM
is this type of thing ok.
namespace myclass
{
class
set
{
List<object> mList
//constructors and stuff
public
set
union(
set
passedSet)
{
set
tempSet = new set();
//do stuff
return tempSet;
}
}
}
Basically I have a class library and the methods in that library need to return the type that the class its self is building. Is that ok. When I worte it the word
set
turned light blue - so I though every thing cool. Now that im using the class library the words
set
have tured black and im getting data type eror when values are passes to methods etc.
Reply
Answers (
9
)
How to get data in datagirdview from two tables
Errors with Methods and Classes ( Threading )