C# 2012/5.0 General DiscussionDiscussions about the C# 2012 language and tool not related to any specific Wrox book
Welcome to the p2p.wrox.com Forums.
You are currently viewing the C# 2012/5.0 General Discussion section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
I am having trouble with the fractal image the author has provided us with. I have downloaded the code and I got the same results. After each character there is a line break so it does not show the entire image only a column of characters. This is for Beginning Visual C# 2012 Programming book. Thanks to anyone who thinks they have an answer or has seen this before.
I think you have the Console.Write("\n") line inside the second 'for' loop curly brackets - it should be just before the end curly bracket of the first for loop:-
Code:
case 3:
Console.Write("@");
break;
}
}
Console.Write("\n");