943,569 Members | Top Members by Rank

Ad:
  • C# Discussion Thread
  • Unsolved
  • Views: 13798
  • C# RSS
Mar 26th, 2004
0

Java to C# Conversion

Expand Post »
Hi,

I'm new to this site so quite unfamiliar with how things work....

I have recently begun learning about C# and the .Net framework. As a java programmer, I found C# a good basis to start on. I wanted to change a lot of my existing code from Java to C#, and was told that the Java Language Conversion Assistant (JLCA) was a good place to start. I successfully changed over a lot of my code, however, I came across a problem with one part. The error I am getting is:

"java.lang.ThreadGroup could not be converted"

And it then tells me that "In the .NET Framework, there is no direct equivalent."

When trying to compile this code, I receive the error:

"The type or namespace name 'ThreadGroup' could not be found (are you missing a using directive or an assembly reference?)".

Would anyone have any thoughts or ideas on how to solve this problem? I have tried various methods but have yet to come across a successful one....

Thanks a million :rolleyes:

-C
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
C#_Virgin is offline Offline
1 posts
since Mar 2004
Mar 26th, 2004
0

Re: Java to C# Conversion

Google Search: Threading in C#

Also, just wondering if you realized that .Net has J# - Java 1.1 for .NET
Moderator
Reputation Points: 322
Solved Threads: 28
The C# Man, Myth, Legend
Tekmaven is offline Offline
914 posts
since Feb 2002
Sep 1st, 2004
0

Re: Java to C# Conversion

well if your working under .net frame work you can see that it has the J# language, it also have an itermediate language which is higher level than assembly, it might be helpful looking at it and its not that difficult if you concentrate a bit
Reputation Points: 10
Solved Threads: 1
Newbie Poster
Decency is offline Offline
22 posts
since Aug 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C# Forum Timeline: Excel Help
Next Thread in C# Forum Timeline: Help With Datagrid RE: Creating and Saving DropDownList ReportsToID





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC