[Mono-list] Package Importieren

Slide slide.o.mix at gmail.com
Thu Sep 1 09:59:04 EDT 2011


On Thu, Sep 1, 2011 at 6:51 AM, Kuehner <kuehner at initions.com> wrote:

> Hi!
>
> I want to import a package into C#. How can I do that?
>
> I have the following java-Sample-Application that works as follows:
>
>
>
> package com.alk.sdk;
>
> public class AlkMsg {
>
>
> How can I import this package with C# and Mono? Is that possible?
>
> Thanks for your help. Unfortunately a am a very beginner...
>
>

You'd need to take a look at IKVM, which allows you to "recompile" the jar
file into a .NET assembly (dll). Then you would add it as a reference during
compilation and add appropriate "using" lines to your code to import the
names into the namespace.

If you are just getting started, I would highly recommend learning the
basics of C# prior to trying anything more complex.

slide
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20110901/64b28956/attachment.html 


More information about the Mono-list mailing list