include a piece of code

View: New views
2 Messages — Rating Filter:   Alert me  

include a piece of code

by bonz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello.
I have started in these days to use C# on MonoDevelop, and I have a problem.
I have written my program, with its main, classes and functions.
Now i need to include another piece of code(a class called MersenneTwister to generate random numbers) and the only way i have been able to do this was by copying the all code in my original program...
can anyone help me please?
thanks

Re: include a piece of code

by Andrew York-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm a little confused what method did you want to use to include the class MersenneTwister ? If it is in a project of it's own you can add that project to the solution just like VS or right click on the project and use "Add Files" to add an existing file to the project. If you have the dll for MersenneTwister and it is managed code you can reference that dll, but I'm not sure that is what you're asking.

I hope that helps
SpoodyGoon


On 11/7/2009 5:04 AM, bonz wrote:
Hello. 
I have started in these days to use C# on MonoDevelop, and I have a problem.
I have written my program, with its main, classes and functions.
Now i need to include another piece of code(a class called MersenneTwister
to generate random numbers) and the only way i have been able to do this was
by copying the all code in my original program...
can anyone help me please?
thanks 
  
No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.425 / Virus Database: 270.14.56/2491 - Release Date: 11/09/09 07:39:00



_______________________________________________
Monodevelop-list mailing list
Monodevelop-list@...
http://lists.ximian.com/mailman/listinfo/monodevelop-list