blah blah blah is here! blah blah » Close

1
votes
3 answers

C# multiple method execution?

Hi I have a windows form with a tabcontrol and a form button. I am trying to figure out the best way forward for this button to execute 5 different methods sensibly? the tabcontrol has 5 tab pages which host 5 different sets of inf ...

1
votes
3 answers

C# Override Method

I am very new to C# and am needing to know something about overriding a base class method. The only difference that will be with the base class and derived class method, is that a constant is setting the base class number for a property. Th ...

0
votes
1 answers

Difference between abstract method and virtual functions.

both abstarct methods and the virtual functions are requied to implement the base class functions into the inherited or child class according to the functionality required.then what is the DIFFERENCE BETWEEN THE 2,[b]BASED UPON THE FUNCTION ...

0
votes
1 answers

about IF statement Help

public int Cash; public int GiveCash(int amount) { if (amount <= Cash && amount > 1) { Cash -= amount; return amount; } ...

0
votes
1 answers

Do methods create garbage?

This is probably the third time Ive asked if something in C# creates garbage. :P Ive read a couple tutorials but they explain only about using keyword 'new'. Does this mean that garbage is ONLY created when 'new' is used? I ask in tit ...

0
votes
3 answers

List Item Methods

eeboy
499

Can I somehow implement a method in a list item? For example, if this is the class I base my list off of: [code] class TestListItem { public string Name; public string Address; public TestLis ...

Feedback