Click here to Skip to main content
15,908,172 members
Home / Discussions / C#
   

C#

 
GeneralRe: try - catch problems Pin
Tom Larsen24-Oct-05 5:03
Tom Larsen24-Oct-05 5:03 
GeneralRe: try - catch problems Pin
zaboboa24-Oct-05 5:32
zaboboa24-Oct-05 5:32 
GeneralRe: try - catch problems Pin
Wjousts24-Oct-05 6:27
Wjousts24-Oct-05 6:27 
AnswerRe: try - catch problems Pin
Daniel Grunwald24-Oct-05 5:18
Daniel Grunwald24-Oct-05 5:18 
GeneralRe: try - catch problems Pin
zaboboa24-Oct-05 7:31
zaboboa24-Oct-05 7:31 
GeneralRe: try - catch problems Pin
Tom Larsen24-Oct-05 8:12
Tom Larsen24-Oct-05 8:12 
AnswerRe: try - catch problems Pin
leppie24-Oct-05 7:01
leppie24-Oct-05 7:01 
AnswerRe: try - catch problems Pin
Daniel Turini24-Oct-05 9:49
Daniel Turini24-Oct-05 9:49 
You can't catch StackOverflowException.
My suggestions:
1. It can be proved that any tail-recursive call can be reduced to a simple "while" loop. It seems to be your case "return calcIRR (..."
2. You're passing a lot of big parameters. Why not passing a reference to a class that contains all this information? This would reduce your stack size.
3. Do you have lots of local variables? If yes, try extracting methods from your code, so your stack size becomes smaller.


I see dead pixels
Yes, even I am blogging now!
QuestionEnvironment Variable Pin
C#Bala24-Oct-05 2:17
C#Bala24-Oct-05 2:17 
AnswerRe: Environment Variable Pin
KaptinKrunch24-Oct-05 2:30
KaptinKrunch24-Oct-05 2:30 
AnswerRe: Environment Variable Pin
S. Senthil Kumar24-Oct-05 4:46
S. Senthil Kumar24-Oct-05 4:46 
AnswerRe: Environment Variable Pin
Matt Gerrans24-Oct-05 5:46
Matt Gerrans24-Oct-05 5:46 
QuestionHow to rename a file in a isolated storage Pin
mondolyo7814024-Oct-05 2:13
mondolyo7814024-Oct-05 2:13 
AnswerRe: How to rename a file in a isolated storage Pin
KaptinKrunch24-Oct-05 2:33
KaptinKrunch24-Oct-05 2:33 
GeneralRe: How to rename a file in a isolated storage Pin
mondolyo7814024-Oct-05 2:39
mondolyo7814024-Oct-05 2:39 
GeneralRe: How to rename a file in a isolated storage Pin
KaptinKrunch24-Oct-05 7:58
KaptinKrunch24-Oct-05 7:58 
QuestionIf there is an event in a C++ dll ,how to define it? Pin
rushing24-Oct-05 1:25
rushing24-Oct-05 1:25 
AnswerRe: If there is an event in a C++ dll ,how to define it? Pin
Tom Larsen24-Oct-05 4:48
Tom Larsen24-Oct-05 4:48 
GeneralRe: If there is an event in a C++ dll ,how to define it? Pin
rushing26-Oct-05 15:02
rushing26-Oct-05 15:02 
QuestionRichTextBox of A4 Size Pin
AB777124-Oct-05 0:34
AB777124-Oct-05 0:34 
QuestionDataGrid: SetDataBinding() method OR DataSource property Pin
amit_mi24-Oct-05 0:18
amit_mi24-Oct-05 0:18 
Questioncombobox Pin
x-trate24-Oct-05 0:15
x-trate24-Oct-05 0:15 
AnswerRe: combobox Pin
Greeky24-Oct-05 0:36
Greeky24-Oct-05 0:36 
QuestionMouse clicking crashes program Pin
Wolfgang Mergenthaler24-Oct-05 0:01
Wolfgang Mergenthaler24-Oct-05 0:01 
AnswerRe: Mouse clicking crashes program Pin
André Ziegler24-Oct-05 1:48
André Ziegler24-Oct-05 1:48 

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.