c# - Can I know how the language interoperability works in .NET with the help of example? -
i reading .net framework , read ".net provides language interoperability", , read answer question what language interoperability (basic concept) in .net framework?, don't have idea how use feature practically. can simple code , procedure helpful understand concept of "language interoperability" practically?
create simple project using c#, make simple class , compile it. generate .dll. create project using vb , import/include 1 compiled used c#. vb won´t take care of c# code, can manage class created.
how? because .net compiled in common language. not matter if have used c# or vb generate code.
interoperability framework feature. rare need make use of small projects undestand don't find real way carry out. simple c# in .net can reuse if decide code in vb in future or parts of project.
in practice programmers decide code in 1 language. reusability there.
feel free ask need.
Comments
Post a Comment