Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / July 2004

Tip: Looking for answers? Try searching our database.

java.lang.string

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
vbdotnetmania - 08 Jul 2004 14:44 GMT
Hi,
  I'm trying to port java code to c#, I am not too familiar with either so forgive me for what might be a stupid question, I wish to use the java string type rather than the c# one, when I try to declare the type as java.lang.string I am not allowed, is there a way I can use the java string type rather than the c# native string type.
Any help would be great.
Thanks,
barry.
Peter van der Goes - 08 Jul 2004 15:38 GMT
> Hi,
>    I'm trying to port java code to c#, I am not too familiar with either so forgive me for what might be a stupid question, I wish to use the java
string type rather than the c# one, when I try to declare the type as
java.lang.string I am not allowed, is there a way I can use the java string
type rather than the c# native string type.
> Any help would be great.
> Thanks,
> barry.

First, you'd probably have better luck with your question if you posted in
the C# group, rather than this C++ group. The group you'd want is:

microsoft.public.dotnet.languages.csharp

However, I have to ask a question here. As both the Java String class and
the .NET Framework String class (used by C#) are similar in general text
handling capabilities (the .NET String class has more features), I'm curious
as to why you feel the need to stay with Java strings?

Questions aside, you'll not be able to use Java. (referring to the Sun Java
2 API) anything in C#.

Signature

Peter [MVP Visual Developer]
Jack of all trades, master of none.


Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.