Click here to Skip to main content
15,890,717 members
Home / Discussions / C#
   

C#

 
GeneralRe: When is a customAttribute constructor of ... : System.Attribute called/activated Pin
petermeter20-May-08 8:52
petermeter20-May-08 8:52 
AnswerRe: When is a customAttribute constructor of ... : System.Attribute called/activated Pin
PIEBALDconsult20-May-08 15:07
mvePIEBALDconsult20-May-08 15:07 
Questiondata structure design for data aggregation Pin
George_George20-May-08 2:44
George_George20-May-08 2:44 
AnswerRe: data structure design for data aggregation Pin
Christian Wikander20-May-08 3:09
Christian Wikander20-May-08 3:09 
GeneralRe: data structure design for data aggregation Pin
George_George20-May-08 3:28
George_George20-May-08 3:28 
GeneralRe: data structure design for data aggregation Pin
Christian Wikander20-May-08 3:32
Christian Wikander20-May-08 3:32 
GeneralRe: data structure design for data aggregation Pin
George_George21-May-08 0:30
George_George21-May-08 0:30 
QuestionExample code that takes as its first argument one of the words 'sum,' 'product,' 'mean,' or 'sqrt' and for further arguments a series of numbers. The program applies the appropriate function to the series. Pin
smileguy20-May-08 2:25
smileguy20-May-08 2:25 
Can anybody give me the sample code for this.

program that takes as its first argument one of the words 'sum,' 'product,' 'mean,' or 'sqrt' and for further arguments a series of numbers. The program applies the appropriate function to the series.


Requires basic control flow, basic operators, and the math library. (Complex numbers available?)
What are arrays like?
What about parsing / implicit conversion?
Are functions first-class (availability of Map() and Apply())?
Error handling: What happens on invalid data?

Free sample codes are here http://allabout-dotnet.blogspot.com

AnswerRe: Example code that takes as its first argument one of the words 'sum,' 'product,' 'mean,' or 'sqrt' and for further arguments a series of numbers. The program applies the appropriate function to the series. Pin
phannon8620-May-08 2:36
professionalphannon8620-May-08 2:36 
AnswerGood luck with your homework. Pin
CPallini20-May-08 2:36
mveCPallini20-May-08 2:36 
AnswerRe: Example code that takes as its first argument one of the words 'sum,' 'product,' 'mean,' or 'sqrt' and for further arguments a series of numbers. The program applies the appropriate function to the series. Pin
Colin Angus Mackay20-May-08 2:38
Colin Angus Mackay20-May-08 2:38 
AnswerRe: Example code that takes as its first argument one of the words 'sum,' 'product,' 'mean,' or 'sqrt' and for further arguments a series of numbers. The program applies the appropriate function to the series. Pin
Dan Neely20-May-08 2:59
Dan Neely20-May-08 2:59 
AnswerRe: Example code that takes as its first argument one of the words 'sum,' 'product,' 'mean,' or 'sqrt' and for further arguments a series of numbers. The program applies the appropriate function to the series. Pin
Christian Graus20-May-08 3:05
protectorChristian Graus20-May-08 3:05 
AnswerRe: Example code that takes as its first argument one of the words 'sum,' 'product,' 'mean,' or 'sqrt' and for further arguments a series of numbers. The program applies the appropriate function to the series. Pin
PIEBALDconsult20-May-08 15:01
mvePIEBALDconsult20-May-08 15:01 
GeneralRe: Example code that takes as its first argument one of the words 'sum,' 'product,' 'mean,' or 'sqrt' and for further arguments a series of numbers. The program applies the appropriate function to the series. Pin
Peter Josefsson Sweden23-May-08 16:15
Peter Josefsson Sweden23-May-08 16:15 
GeneralRe: Example code that takes as its first argument one of the words 'sum,' 'product,' 'mean,' or 'sqrt' and for further arguments a series of numbers. The program applies the appropriate function to the series. Pin
PIEBALDconsult23-May-08 16:25
mvePIEBALDconsult23-May-08 16:25 
QuestionNew Methods for existing types? Pin
Reelix20-May-08 2:22
Reelix20-May-08 2:22 
AnswerRe: New Methods for existing types? Pin
ptr2void20-May-08 2:25
ptr2void20-May-08 2:25 
GeneralRe: New Methods for existing types? Pin
Reelix20-May-08 2:31
Reelix20-May-08 2:31 
AnswerRe: New Methods for existing types? Pin
CPallini20-May-08 2:34
mveCPallini20-May-08 2:34 
GeneralRe: New Methods for existing types? Pin
Reelix20-May-08 2:42
Reelix20-May-08 2:42 
GeneralRe: New Methods for existing types? Pin
CPallini20-May-08 2:49
mveCPallini20-May-08 2:49 
GeneralRe: New Methods for existing types? Pin
Reelix20-May-08 2:54
Reelix20-May-08 2:54 
AnswerRe: New Methods for existing types? Pin
laserbaronen20-May-08 3:08
laserbaronen20-May-08 3:08 
GeneralRe: New Methods for existing types? Pin
laserbaronen20-May-08 3:11
laserbaronen20-May-08 3:11 

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.