Information générale
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Network:
Windows 2003 Server
Hi,
I think it's possible to get round that restriction by having one side of the equation reference the DLL rather than the project.
BUT I AM NOT RECOMMENDING IT (g)
Having said that I thought I read somewhere that a couple of the core Framework assemblies actually do reference each other.......
>If both classes are in the same project, there is no circular reference. If they're in different projects, then you won't be able to do it because then it *would* be a circular reference and Visual Studio won't allow that.
>
>~~Bonnie
>
>
>
>>Sometimes when creating a parent child relationship the child may need to know who it's parent is.
>>
>>I can do that easy enough by passing the parent reference in the constructor for the child.
>>
>>In C# do I need to worry about the circular reference I've just created?
Précédent
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