Jump to content

Callig .NET developers (One small may be silly doubt)


Recommended Posts

Posted

Can we have two namespaces with same name in two different assemblys? If the class names are also same in namespaces, then how can we use them?

Example:

Assembly1:
Namespace1
Class1


Assembly2
Namespace1
class1

sCo_hmmthink sCo_hmmthink sCo_hmmthink sCo_hmmthink sCo_hmmthink

Posted

sCo_hmmthink sCo_hmmthink sCo_hmmthink undochu anukunta  @3$% @3$%

Posted

[quote author=HS link=topic=168940.msg2045404#msg2045404 date=1300383120]
sCo_hmmthink sCo_hmmthink sCo_hmmthink F@!n F@!n F@!n
[/quote]

Yemiti mama undocha...I think the answer is yes...

By checking google, I understand that We can refer to Namespace by using assembly name...But How to refer to assembly name... They said that we have to use [size=14pt]extern alias[/size]  ..I never heard about this.,..  F@!n F@!n F@!n  ippude interiewlo adigaru....I said yes.... @3$% @3$% @3$%

Posted

sorry2 sorry2 sorry2 sorry2  lift chesthunnanu anthe...yemee anukokandi ... sSc_hiding2 sSc_hiding2 sSc_hiding2

Posted

[quote author=KINGNAKERS link=topic=168940.msg2045739#msg2045739 date=1300384840]
Assemblies different kabatti yes you can have.  sHa_high5ing sHa_high5ing
[/quote]

Then how can we reference those classes in a program.... sCo_hmmthink sCo_hmmthink sCo_hmmthink sHa_high5ing sHa_high5ing sHa_high5ing

Posted

Yes can use...  as they r in  different assemblies right.... sHa_high5ing
moreover...    ILDASM converts to source code.... if u write one in c# and other in vb.net, both gets converted to source code... so there should not be a problem....

Posted

[quote author=KINGNAKERS link=topic=168940.msg2045874#msg2045874 date=1300385620]
[url=http://tech-question.com/class-with-same-name-in-two-assemblies-intentionally]http://tech-question.com/class-with-same-name-in-two-assemblies-intentionally[/url]

read it and let me know if it helps anything.
[/quote] you rock you rock you rock you rock you rock hangu gada majakaaa

Posted

[quote author=TollywoodEmperor link=topic=168940.msg2045636#msg2045636 date=1300384246]
Yemiti mama undocha...I think the answer is yes...

By checking google, I understand that We can refer to Namespace by using assembly name...But How to refer to assembly name... They said that we have to use [size=14pt]extern alias[/size]  ..I never heard about this.,..  F@!n F@!n F@!n  ippude interiewlo adigaru....I said yes.... @3$% @3$% @3$%
[/quote] @gr33d @gr33d thankyou

Posted

[quote author=TollywoodEmperor link=topic=168940.msg2045723#msg2045723 date=1300384732]
sorry2 sorry2 sorry2 sorry2  lift chesthunnanu anthe...yemee anukokandi ... sSc_hiding2 sSc_hiding2 sSc_hiding2
[/quote]

good work dude!!!!

Posted

[quote author=KINGNAKERS link=topic=168940.msg2045874#msg2045874 date=1300385620]
[url=http://tech-question.com/class-with-same-name-in-two-assemblies-intentionally]http://tech-question.com/class-with-same-name-in-two-assemblies-intentionally[/url]

read it and let me know if it helps anything.
[/quote] thankyou baa..kani adhi chadhiva tharvathane paina oka solution ihanu...but still extern alias use chesi yela cheyalo ardham kavadam ledhu ... sCo_hmmthink sCo_hmmthink sCo_hmmthink

Posted

[quote author=KINGNAKERS link=topic=168940.msg2046616#msg2046616 date=1300389754]
replies lo evaro chepparu ga ela cheyyalo.
[/quote]

Adhi nene anukunta baa vesindhi... sHa_high5ing sHa_high5ing @3$%

Posted

[url=http://www.davidarno.org/c-howtos/aliases-overcoming-name-conflicts-part-2-extern-alias/]http://www.davidarno.org/c-howtos/aliases-overcoming-name-conflicts-part-2-extern-alias/[/url]

try this if it helps

Posted

[quote author=PAM PACHAK link=topic=168940.msg2046979#msg2046979 date=1300392082]
[url=http://www.davidarno.org/c-howtos/aliases-overcoming-name-conflicts-part-2-extern-alias/]http://www.davidarno.org/c-howtos/aliases-overcoming-name-conflicts-part-2-extern-alias/[/url]

try this if it helps
[/quote] thankyou thankyou thankyou thankyou thankyou thankyou thankyou seraching for this only... you rock you rock you rock you rock

×
×
  • Create New...