Click here to Skip to main content
15,907,395 members
Home / Discussions / C#
   

C#

 
GeneralRe: Installing a Software Developed using Dot net bar Pin
Krazy Programmer15-Mar-08 20:19
Krazy Programmer15-Mar-08 20:19 
GeneralRe: Installing a Software Developed using Dot net bar Pin
Not Active15-Mar-08 12:49
mentorNot Active15-Mar-08 12:49 
Questionusing my cursor in C# - help me Pin
inan_15-Mar-08 7:18
inan_15-Mar-08 7:18 
GeneralRe: using my cursor in C# - help me [modified] Pin
parth.p15-Mar-08 7:30
parth.p15-Mar-08 7:30 
GeneralRe: using my cursor in C# - help me Pin
inan_15-Mar-08 20:03
inan_15-Mar-08 20:03 
GeneralRe: using my cursor in C# - help me Pin
parth.p16-Mar-08 2:22
parth.p16-Mar-08 2:22 
GeneralRe: using my cursor in C# - help me Pin
inan_16-Mar-08 4:15
inan_16-Mar-08 4:15 
QuestionCan someone please Program the following ADT specification in C# help!!! Pin
ADTC#15-Mar-08 5:57
ADTC#15-Mar-08 5:57 
I am sure you can make out clearly from the ADT tht its an interface created for Set. Now this is supposed to test if it is empty, or if a element belongs to a set and find the inetersection of 2 sets and so on. But i wanted to implement this in C#. but i couldn't program it in C#. So can anyone help me please Cry | :((


// invariant: Cardinality >= 0
public interface ISet
{
// Pre: true
// Post: return the cardinality of the set
int Cardinality { get; }

// Pre: true
// Post: Object element is contained in the set and the
// cardinality increases by 1
void Add(Object element);

// Pre: Object element is contained in the set
// Post: Object element is not contained in the set and the
// cardinality decreases by 1
void Remove(Object element);

// Pre: true
// Post: return true if Object element is contained in the set;
// otherwise, return false.
bool IsMember(Object element);

// Pre: true
// Post: return true if Cardinality = 0; otherwise, return false.
bool IsEmpty();

// Pre: true
// Post: return true if all elements in the set are contained in
// set anotherSet; otherwise return false.
bool IsSubsetOf(ISet anotherSet);

// Pre: true
// Post: return true if all elements in this set are contained in
// set anotherSet and all elements in set anotherSet are
// also contained in this set; otherwise, return false.
bool IsEqual(ISet anotherSet);

// Pre: true
// Post: return a set that contains all elements in set
// anotherSet and all elements in this set
ISet Union(ISet anotherSet);

// Pre: true
// Post: return a set that contains elements in both set
// anotherSet and this set
ISet Intersection(ISet anotherSet);

// Pre: true
// Post: return a set that contains elements that are contained
// in this set, but are not contained in set anotherSet
ISet Difference(ISet anotherSet);
}
AnswerRe: Can someone please Program the following ADT specification in C# help!!! Pin
Kristian Sixhøj15-Mar-08 6:03
Kristian Sixhøj15-Mar-08 6:03 
AnswerRe: Can someone please Program the following ADT specification in C# help!!! Pin
pmarfleet15-Mar-08 6:39
pmarfleet15-Mar-08 6:39 
QuestionApplicationBlocks Configuration Manager xml *.config file reverting to old version Pin
Bill Prada15-Mar-08 5:52
Bill Prada15-Mar-08 5:52 
GeneralRe: ApplicationBlocks Configuration Manager xml *.config file reverting to old version Pin
Mircea Puiu15-Mar-08 7:07
Mircea Puiu15-Mar-08 7:07 
GeneralRe: ApplicationBlocks Configuration Manager xml *.config file reverting to old version Pin
Bill Prada15-Mar-08 9:03
Bill Prada15-Mar-08 9:03 
GeneralRe: ApplicationBlocks Configuration Manager xml *.config file reverting to old version Pin
Mircea Puiu15-Mar-08 22:12
Mircea Puiu15-Mar-08 22:12 
QuestionInteroperatibility... Pin
Rahul.RK15-Mar-08 5:29
Rahul.RK15-Mar-08 5:29 
GeneralRe: Interoperatibility... Pin
DaveyM6915-Mar-08 5:33
professionalDaveyM6915-Mar-08 5:33 
QuestionRe: Interoperatibility... Pin
Rahul.RK15-Mar-08 5:41
Rahul.RK15-Mar-08 5:41 
GeneralRe: Interoperatibility... Pin
Mircea Puiu15-Mar-08 7:13
Mircea Puiu15-Mar-08 7:13 
Generalwpf Pin
SVb.net15-Mar-08 4:21
SVb.net15-Mar-08 4:21 
GeneralRe: wpf Pin
DaveyM6915-Mar-08 4:34
professionalDaveyM6915-Mar-08 4:34 
GeneralRe: wpf Pin
Kevin McFarlane15-Mar-08 5:16
Kevin McFarlane15-Mar-08 5:16 
GeneralCount same values in single array Pin
Cptkli15-Mar-08 1:35
Cptkli15-Mar-08 1:35 
GeneralRe: Count same values in single array Pin
pmarfleet15-Mar-08 1:56
pmarfleet15-Mar-08 1:56 
GeneralRe: Count same values in single array Pin
Cptkli15-Mar-08 3:51
Cptkli15-Mar-08 3:51 
GeneralRe: Count same values in single array Pin
buchstaben15-Mar-08 5:44
buchstaben15-Mar-08 5:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.