Click here to Skip to main content
16,018,347 members
Home / Discussions / C#
   

C#

 
GeneralRe: what is happen Pin
amirafouad2127-Nov-06 9:59
amirafouad2127-Nov-06 9:59 
AnswerRe: what is happen Pin
Nader Elshehabi27-Nov-06 11:53
Nader Elshehabi27-Nov-06 11:53 
GeneralRe: what is happen [modified] Pin
amirafouad2128-Nov-06 5:35
amirafouad2128-Nov-06 5:35 
GeneralRe: what is happen Pin
Nader Elshehabi28-Nov-06 8:20
Nader Elshehabi28-Nov-06 8:20 
QuestionDatagrid parent children rows??? Pin
Small Rat27-Nov-06 6:21
Small Rat27-Nov-06 6:21 
AnswerRe: Datagrid parent children rows??? Pin
Not Active27-Nov-06 7:40
mentorNot Active27-Nov-06 7:40 
Questionoverload,override,abstract Pin
saravanan0527-Nov-06 5:42
saravanan0527-Nov-06 5:42 
AnswerRe: overload,override,abstract Pin
J4amieC27-Nov-06 5:57
J4amieC27-Nov-06 5:57 
An overload is having 2 methods named the same, but which provide a differing number of arguments. This is useful in many ways and can simulate optional arguments

public void DoSomething()
{
   DoSomething(true);
}

public void DoSomething(bool special)
{
 // do something (special if bool flag is set)
}


An override is used to redefine a virtual method from a base class. This allows you to change the behaviour of your objects.

class MyBase
{
  public virtual void DoSomething()
  {
    MessageBox.Show("Something from MyBase");
  }
}

class MyDerived : MyBase
{
  public overload void DoSomething()
  {
    MessageBox.Show("Something from MyDerived");
  }
}


An abstract class is one that cant be directly instantiated, it must be inherited and given default behaviour for all abstract members.


GeneralRe: overload,override,abstract Pin
Eric Dahlvang27-Nov-06 7:22
Eric Dahlvang27-Nov-06 7:22 
GeneralRe: overload,override,abstract Pin
J4amieC28-Nov-06 0:33
J4amieC28-Nov-06 0:33 
AnswerRe: overload,override,abstract Pin
karam chandrabose27-Nov-06 9:20
karam chandrabose27-Nov-06 9:20 
QuestionHow to detect DataGridView Order Change ? Pin
Marcos Hernandez27-Nov-06 5:40
Marcos Hernandez27-Nov-06 5:40 
AnswerRe: How to detect DataGridView Order Change ? Pin
ednrgc28-Nov-06 2:52
ednrgc28-Nov-06 2:52 
GeneralRe: How to detect DataGridView Order Change ? Pin
Marcos Hernandez28-Nov-06 4:00
Marcos Hernandez28-Nov-06 4:00 
GeneralRe: How to detect DataGridView Order Change ? Pin
ednrgc28-Nov-06 4:02
ednrgc28-Nov-06 4:02 
GeneralRe: How to detect DataGridView Order Change ? Pin
Marcos Hernandez28-Nov-06 4:11
Marcos Hernandez28-Nov-06 4:11 
GeneralRe: How to detect DataGridView Order Change ? Pin
ednrgc28-Nov-06 4:12
ednrgc28-Nov-06 4:12 
GeneralRe: How to detect DataGridView Order Change ? Pin
Marcos Hernandez28-Nov-06 4:29
Marcos Hernandez28-Nov-06 4:29 
GeneralRe: How to detect DataGridView Order Change ? Pin
ednrgc28-Nov-06 4:35
ednrgc28-Nov-06 4:35 
GeneralRe: How to detect DataGridView Order Change ? Pin
Marcos Hernandez28-Nov-06 4:59
Marcos Hernandez28-Nov-06 4:59 
GeneralRe: How to detect DataGridView Order Change ? Pin
ednrgc28-Nov-06 5:34
ednrgc28-Nov-06 5:34 
GeneralRe: How to detect DataGridView Order Change ? Pin
Marcos Hernandez28-Nov-06 5:37
Marcos Hernandez28-Nov-06 5:37 
Questionlistview item check problem Pin
numbers1thru927-Nov-06 4:59
numbers1thru927-Nov-06 4:59 
AnswerRe: listview item check problem Pin
albCode27-Nov-06 5:05
albCode27-Nov-06 5:05 
GeneralRe: listview item check problem Pin
numbers1thru927-Nov-06 5:40
numbers1thru927-Nov-06 5:40 

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.