System.StackOverflowException: Exception of type
System.StackOverflowException was thrown.
When is this thrown..
Any ideasthis should happen when you have a cicling method which is never finishig.
It should happen to have a property like this
private int a ;
public int A{
get{ return A;} instead of A put a
set{ A = value;} instead of A put a
}
this is the most usuall content in which you get the error.
"Patrick.O.Ige" wrote:
> Error:-
> System.StackOverflowException: Exception of type
> System.StackOverflowException was thrown.
> When is this thrown..
> Any ideas
Thx mate.
I get it when i work with VS.NET!
But works with asp.net
Do u know why?:)
"Psycho" wrote:
> this should happen when you have a cicling method which is never finishig.
> It should happen to have a property like this
> when i work with VS.NET
> private int a ;
> public int A{
> get{ return A;} instead of A put a
> set{ A = value;} instead of A put a
> }
> this is the most usuall content in which you get the error.
> "Patrick.O.Ige" wrote:
> > Error:-
> > System.StackOverflowException: Exception of type
> > System.StackOverflowException was thrown.
> > When is this thrown..
> > Any ideas
it is throw when you make an infinite recurvise method.
http://msdn.microsoft.com/library/d...nclasstopic.asp
"Patrick.O.Ige" wrote:
> Thx mate.
> I get it when i work with VS.NET!
> But works with asp.net
> Do u know why?:)
>
> "Psycho" wrote:
> > this should happen when you have a cicling method which is never finishig.
> > It should happen to have a property like this
> > when i work with VS.NET
> > private int a ;
> > public int A{
> > get{ return A;} instead of A put a
> > set{ A = value;} instead of A put a
> > }
> > this is the most usuall content in which you get the error.
> > "Patrick.O.Ige" wrote:
> > > Error:-
> > > System.StackOverflowException: Exception of type
> > > System.StackOverflowException was thrown.
> > > When is this thrown..
> > > Any ideas
0 comments:
Post a Comment