dr.grimm
Well-Known Member
hi there,
i was hoping anyone out there can help me with a project for college.. i am currently studying C# but the practical exercises is killing me and my book is not much of a guide ...
i have to write 2 programs... one being a program to out put a sequence of the numbers to the console, the user must provide the starting number and indicate whether the sequence should be ascending or descending. included a class in the program that writes the sequence to the screen. i have to use delegates (what ever that is ...my book is sooo wage on that) to point to the relevant method that either adds or subtracts from the starting number to obtain the next number in the sequence
then i have to do a program that uses a multicast delegate. this delegate must preform two operations by invoking other delegates. first a multiplication then division. output of each operation must be written to the console.
if anyone can mybe give me some pointer on how to begin this i would appreciate it so must...



i was hoping anyone out there can help me with a project for college.. i am currently studying C# but the practical exercises is killing me and my book is not much of a guide ...
i have to write 2 programs... one being a program to out put a sequence of the numbers to the console, the user must provide the starting number and indicate whether the sequence should be ascending or descending. included a class in the program that writes the sequence to the screen. i have to use delegates (what ever that is ...my book is sooo wage on that) to point to the relevant method that either adds or subtracts from the starting number to obtain the next number in the sequence
then i have to do a program that uses a multicast delegate. this delegate must preform two operations by invoking other delegates. first a multiplication then division. output of each operation must be written to the console.
if anyone can mybe give me some pointer on how to begin this i would appreciate it so must...