>>Hi,
>>
>>>Are you looking for new ?
>>
>>Yes! I forgotten about that usage but as soon as I saw the line above I knew what you were suggesting!
>>
>>Should work fine. Thanks,
>>Viv
>
>
>Viv,
>
>Hear my confession. I had not forgotten about that usage - I simply didn't know about it.
>
>I tried without the new (and the stuff in the main) and whilst debugging OrderB I saw that it still had the 'old' (base) List and that the old List was hidden.
>
>In all honesty - it was the compiler that suggested the new keyword
Didn't do it for me :-{
I spent a while trying to work out why I couldn't do an explicit/implicit type conversion ......
Seems like my whole day today was taken up with either frustration because I didn't know how to do something or boredom because I did (and had to spend time doing it...)
BTW, it DID work fine.......
Thx again,
Viv
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement