TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Anuj Kumar
NA
19
830
C# stackover flow problem
Mar 18 2016 7:13 AM
Dear Expert
I am new in C# also in window app development.
It is my first App.
I am try to develop a universal windows app in C#, My app use a recursive function due to this function there is System Stack overflow exception.
In recursive function i am reading (.xml) file, to read all node of this file i call it recursively after reading 6-7 node it give System Stack overflow exception.
My function is like :
Class read
{
ReadNode(IXmlNode node, FileName);
}
ReadNode(IXmlNode node, FileName)
{
// reade node data
IXmlNode ChildNode= node.Child;
while(ChildNode)
{
ReadNode(ChildNode, FileName) ;
ChildNode =ChildNode.NextSibling;
}
}
Is there is any solution to solve this System Stack overflow exception without changing my recursive function.
This recursive function work well in a Dialog base window Application in visual studio2010 in VC++;
Thanks in Advance
Reply
Answers (
2
)
How to Detect insertion and removal of Pendrive using c# ?
Requesting for Guidence about learn C#.NET and ASP,NET