Click here to Skip to main content
15,916,945 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to send Date as a DateTime Object?. Pin
Manoj Kumar Rai21-May-07 3:00
professionalManoj Kumar Rai21-May-07 3:00 
GeneralRe: How to send Date as a DateTime Object?. Pin
pubududilena21-May-07 3:14
pubududilena21-May-07 3:14 
GeneralRe: How to send Date as a DateTime Object?. Pin
Manoj Kumar Rai21-May-07 3:26
professionalManoj Kumar Rai21-May-07 3:26 
GeneralRe: How to send Date as a DateTime Object?. Pin
pubududilena21-May-07 3:39
pubududilena21-May-07 3:39 
AnswerRe: How to send Date as a DateTime Object?. Pin
DoomedOne21-May-07 11:34
DoomedOne21-May-07 11:34 
QuestionInterface question Pin
groundzero11121-May-07 1:58
groundzero11121-May-07 1:58 
AnswerRe: Interface question Pin
Pete O'Hanlon21-May-07 2:12
mvePete O'Hanlon21-May-07 2:12 
AnswerRe: Interface question [modified] Pin
Dave Herren21-May-07 3:21
Dave Herren21-May-07 3:21 
It is a variable declared with an inteface type instead of a class type and can hold any object that implements the interface.

To give the simplest example, if you have:
public interface IMyInterface{}
public class ClassWhichImplementsMyInterface:IMyInterface{}

You can use the following in your code:
IMyInterface MyVariable = new ClassWhichImplementsMyInterface();

A good example of the usefulness of this in the .net framework is the foreach statement which will accept any object that implements the IEnumerable interface. It uses objects that implement IEnumerable and knows how to handle them based on that interface.



-- modified at 11:11 Monday 21st May, 2007

topcoderjax

GeneralRe: Interface question Pin
groundzero11121-May-07 6:43
groundzero11121-May-07 6:43 
QuestionDataGrid Cell Merging Pin
rujuc#21-May-07 1:56
rujuc#21-May-07 1:56 
QuestionDigital Persona Pin
| Muhammad Waqas Butt |21-May-07 1:19
professional| Muhammad Waqas Butt |21-May-07 1:19 
AnswerRe: Digital Persona Pin
Dave Kreskowiak21-May-07 6:35
mveDave Kreskowiak21-May-07 6:35 
QuestionDataSet Query Pin
Blumen21-May-07 0:38
Blumen21-May-07 0:38 
AnswerRe: DataSet Query Pin
Colin Angus Mackay21-May-07 0:59
Colin Angus Mackay21-May-07 0:59 
GeneralRe: DataSet Query Pin
Blumen21-May-07 3:14
Blumen21-May-07 3:14 
AnswerRe: DataSet Query Pin
marky77721-May-07 2:36
marky77721-May-07 2:36 
GeneralRe: DataSet Query Pin
Blumen21-May-07 3:15
Blumen21-May-07 3:15 
GeneralRe: DataSet Query Pin
marky77721-May-07 3:22
marky77721-May-07 3:22 
GeneralRe: DataSet Query Pin
Blumen21-May-07 23:42
Blumen21-May-07 23:42 
QuestionFile Extraction Pin
orisugbeye21-May-07 0:36
orisugbeye21-May-07 0:36 
AnswerRe: File Extraction Pin
Giorgi Dalakishvili21-May-07 0:39
mentorGiorgi Dalakishvili21-May-07 0:39 
GeneralRe: File Extraction Pin
orisugbeye21-May-07 1:18
orisugbeye21-May-07 1:18 
GeneralRe: File Extraction Pin
Christian Graus21-May-07 1:35
protectorChristian Graus21-May-07 1:35 
GeneralRe: File Extraction Pin
orisugbeye21-May-07 1:53
orisugbeye21-May-07 1:53 
AnswerRe: File Extraction Pin
marky77721-May-07 2:39
marky77721-May-07 2:39 

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.