[Mono-list] Mixing languages within

Jonathan Gilbert 2a5gjx302@sneakemail.com
Thu, 09 Dec 2004 22:43:24 -0500

At 04:58 PM 09/12/2004 -0800, Richard Norman wrote: 



In .NET 2.0 there is the notion of "partial" classes where for example
XAML files describe one part of the class and say a VB file describes
another. But again the languages they are compiled with must be the same


I'm not certain, but I believe this is more of a compiler hack than
anything supported innately by .NET. The compiler has to see all the
separate source code files before it can produce the class in IL, and the
XAML is translated to C# before the real compilation starts.

Jonathan Gilbert