What references in a C# .NET project are needed to include java.lang
I would like to make java.lang.System.getProperty(..) calls,
thanks,
Jon Skeet [C# MVP] - 13 Mar 2008 15:26 GMT
> What references in a C# .NET project are needed to include java.lang
>
> I would like to make java.lang.System.getProperty(..) calls,
You'd need to include the J# redistributable library.
What property are you interested in though? There's likely to be a
better way to do it in "normal" .NET.

Signature
Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
World class .NET training in the UK: http://iterativetraining.co.uk
Brian Stoop - 13 Mar 2008 17:12 GMT
Thanks Jon. I read "user.home" succesfully.
B
>> What references in a C# .NET project are needed to include java.lang
>>
[quoted text clipped - 4 lines]
> What property are you interested in though? There's likely to be a
> better way to do it in "normal" .NET.
Jon Skeet [C# MVP] - 13 Mar 2008 17:37 GMT
> Thanks Jon. I read "user.home" succesfully.
Look at Environment.GetFolderPath - that's probably a better way of
doing it.

Signature
Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
World class .NET training in the UK: http://iterativetraining.co.uk
Bjorn Brox - 14 Mar 2008 08:57 GMT
Brian Stoop skrev:
> What references in a C# .NET project are needed to include java.lang
>
> I would like to make java.lang.System.getProperty(..) calls,
Why.... I am sure you can use C# directly
Anyhow: Here is a good starting point for people used to java:
http://msdn2.microsoft.com/en-us/library/ms973842.aspx

Signature
Bjorn Brox