Click here to Skip to main content
15,891,316 members
Home / Discussions / C#
   

C#

 
QuestionWinForms.ReportViewer DoubleClick event Pin
bahaa_sa510-Aug-06 4:25
bahaa_sa510-Aug-06 4:25 
Questionasynchronous execution Pin
pranu_1310-Aug-06 4:16
pranu_1310-Aug-06 4:16 
AnswerRe: asynchronous execution Pin
Judah Gabriel Himango10-Aug-06 5:13
sponsorJudah Gabriel Himango10-Aug-06 5:13 
AnswerRe: asynchronous execution Pin
LongRange.Shooter10-Aug-06 8:25
LongRange.Shooter10-Aug-06 8:25 
Questionsend parameter to MSWord and then print it Pin
TAREQ F ABUZUHRI10-Aug-06 4:13
TAREQ F ABUZUHRI10-Aug-06 4:13 
AnswerRe: send parameter to MSWord and then print it Pin
TAREQ F ABUZUHRI10-Aug-06 4:18
TAREQ F ABUZUHRI10-Aug-06 4:18 
GeneralRe: send parameter to MSWord and then print it Pin
Khalid Sabtan3-Jul-12 12:05
Khalid Sabtan3-Jul-12 12:05 
QuestionC# Newbie: What is the ":" for?? [modified] Pin
Goalie3510-Aug-06 2:59
Goalie3510-Aug-06 2:59 
Hey guys.

I just started a new job which requires C# skills so I'm trying to get myself up to speed and while I've been able to understand most of the stuff so far, one thing I don't understand is what is the purpose of the ":" and everything after it when creating a class?

For example, what does the ":" mean in the following line and what is the purpose for "ExcelReport, IReport":
------------------------------------------------
public class SampleClass: ExcelReport, IReport
-------------------------------------------------

This code is basically from one of their applications. It writes a report to an excel file.

Oh, also if it's not too much trouble, can anyone explain what ":base()" is used for? For example:
---------------------------------------
public SampleClass(FileInfo fileName)
: base(fileName)
---------------------------------------

Thanks again guys.

-Goalie35


-- modified at 9:02 Thursday 10th August, 2006
AnswerRe: C# Newbie: What is the ":" for?? Pin
V.10-Aug-06 3:15
professionalV.10-Aug-06 3:15 
AnswerRe: C# Newbie: What is the ":" for?? Pin
Roy Heil10-Aug-06 3:17
professionalRoy Heil10-Aug-06 3:17 
AnswerRe: C# Newbie: What is the ":" for?? Pin
Ennis Ray Lynch, Jr.10-Aug-06 4:13
Ennis Ray Lynch, Jr.10-Aug-06 4:13 
AnswerRe: C# Newbie: What is the ":" for?? [modified] Pin
LongRange.Shooter10-Aug-06 7:50
LongRange.Shooter10-Aug-06 7:50 
GeneralRe: C# Newbie: What is the ":" for?? Pin
Ennis Ray Lynch, Jr.10-Aug-06 8:23
Ennis Ray Lynch, Jr.10-Aug-06 8:23 
JokeRe: C# Newbie: What is the ":" for?? Pin
LongRange.Shooter10-Aug-06 10:34
LongRange.Shooter10-Aug-06 10:34 
Questionclient/server problem Pin
aeliminate10-Aug-06 2:20
aeliminate10-Aug-06 2:20 
AnswerRe: client/server problem Pin
Andrei Ungureanu10-Aug-06 2:37
Andrei Ungureanu10-Aug-06 2:37 
GeneralRe: client/server problem Pin
aeliminate10-Aug-06 3:21
aeliminate10-Aug-06 3:21 
GeneralRe: client/server problem Pin
Andrei Ungureanu10-Aug-06 7:31
Andrei Ungureanu10-Aug-06 7:31 
Questionhow to find the word present in the document Pin
ayyp10-Aug-06 2:08
ayyp10-Aug-06 2:08 
AnswerRe: how to find the word present in the document Pin
Not Active10-Aug-06 3:26
mentorNot Active10-Aug-06 3:26 
GeneralRe: how to find the word present in the document Pin
ayyp10-Aug-06 19:07
ayyp10-Aug-06 19:07 
GeneralRe: how to find the word present in the document Pin
Khalid Sabtan3-Jul-12 12:15
Khalid Sabtan3-Jul-12 12:15 
Questiongracefull exit Pin
Glen Harvy10-Aug-06 1:59
Glen Harvy10-Aug-06 1:59 
AnswerRe: gracefull exit Pin
Not Active10-Aug-06 2:52
mentorNot Active10-Aug-06 2:52 
AnswerRe: gracefull exit Pin
Stefan Troschuetz10-Aug-06 2:54
Stefan Troschuetz10-Aug-06 2:54 

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.