Re: Why does the instance change?



Thanks Jon

unfortunately i really dont know how to on this one, usually when i post an
issue i provide all the information needed. I know its difficult to help
when someone gives not everything but the reason i am having a problem may
be due to how complex this piece of code that uses it is.

I would have to rewrite my code anyway to give a shortened version to pull
out the non-needed parts then post that. As someone earlier stated using my
short eample they found no problems so i guess the issue is elsewhere.
Either way its very strange and for such a simple requirement i was
surprised to have a problem. It's ok i will sort it, nothing worse than
someone asking for help and unable to give help to those trying to help.
Hopefully i will get it.

"Jon Skeet [C# MVP]" <skeet@xxxxxxxxx> wrote in message
news:MPG.1ec0601b4ca38b298d18d@xxxxxxxxxxxxxxxxxxxxxxx
Daniel <DanielV@xxxxxxxxxxxxxxxx> wrote:
This goes through one huge class, which calls another class which is
inherited down from two more. Its impossbile to show a complete example.

No it's not. It just requires a little work. No-one's asking you to
post everything in your real classes - just enough for us to compile
and run a program which demonstrates the problem.

Hence my original shortened version that showed only the parts needed to
recreate my problem. Ok i will sort this one out for myself, thanks
anyway.

It's great to show a shortened version that only shows the parts needed
- but it *didn't* allow anyone to recreate the problem. You need to
post:

1) Enough that people can compile and run the program
2) Not too much: nothing that isn't required to show the problem
3) What you expect to happen and what actually happened

--
Jon Skeet - <skeet@xxxxxxxxx>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too


.



Relevant Pages

  • Re: ADA Popularity Discussion Request
    ... but you don't get this sort of extremely interactive incremental ... > compile time and the program at run time, ... The "both" here is typically not true in static languages. ... In a dynamic language, _values_ have types, variables are just binding ...
    (comp.lang.ada)
  • CL subset?
    ... language in a conscious effort to create smaller distributables. ... case of COMPILE and friends, they wouldn't be giving up much at all. ... it seems the most obvious way to implement this sort of thing is to ... LISP" question. ...
    (comp.lang.lisp)
  • how to make a very complicated GUI
    ... sort. ... have google maps embedded in the application. ... Any suggestions on how to accomplish any of this? ... I compile all my C ...
    (comp.lang.c)
  • Re: how to make a very complicated GUI
    ... sort. ... have google maps embedded in the application. ... Any suggestions on how to accomplish any of this? ... I compile all my C ...
    (comp.lang.c)
  • Re: Why does the instance change?
    ... Daniel wrote: ... Its impossbile to show a complete example. ... - but it *didn't* allow anyone to recreate the problem. ... Enough that people can compile and run the program ...
    (microsoft.public.dotnet.languages.csharp)