C#

06/20/2009 23:40 [GMs]#1
I was taking Computer Science I in school and they teach Java. I started to watch [Only registered and activated users can see links. Click Here To Register...]. What is the difference between String and string? In Java, there is a Scanner to read the inputs. Is there something like that in C# instead of reading it as a string and parsing it?
06/20/2009 23:55 high7#2
String and string are the same thing. "string" is simply and alias for System.String.
06/25/2009 00:02 jamellathewhite#3
Java and C# are almost entirely the same language, because...well Microsoft stole Java from SunMicro Systems but due to pending law suites changed it up a bit with some C syntax. So the difference between string and String are trivial. In general "string" refers to a data type and "String" refers to a class.
06/25/2009 08:42 high7#4
Quote:
Originally Posted by jamellathewhite View Post
Java and C# are almost entirely the same language, because...well Microsoft stole Java from SunMicro Systems but due to pending law suites changed it up a bit with some C syntax.
Um... No..

Quote:
Originally Posted by jamellathewhite View Post
So the difference between string and String are trivial. In general "string" refers to a data type and "String" refers to a class.
Um... No...

In .NET "string" and "System.String" are exactly the same. "string" is simply an alias for "System.String". Which means "string" is compiled as "System.String".
06/25/2009 22:28 jamellathewhite#5
C# and Java are almost the same language, Microsoft made C# to resemble Java and its cross platform attributes. In fact that got in trouble for it originally because Java was never intended to be platform dependent, a tactic Microsoft loves to implement in all their creations. The difference between C# and Java mainly? C# retains a C/C++ like syntax and same attributes like limited pointer use.
You would think people posting to help other people would actually research this stuff, but I guess not....
06/25/2009 22:48 high7#6
Quote:
Originally Posted by jamellathewhite View Post
C# and Java are almost the same language, Microsoft made C# to resemble Java and its cross platform attributes. In fact that got in trouble for it originally because Java was never intended to be platform dependent, a tactic Microsoft loves to implement in all their creations. The difference between C# and Java mainly? C# retains a C/C++ like syntax and same attributes like limited pointer use.
You would think people posting to help other people would actually research this stuff, but I guess not....
Um... No...
06/26/2009 02:38 jamellathewhite#7
Quote:
Originally Posted by high7 View Post
Um... No...
I am guessing you have failed to move past C# in the programming world in any sense. Because if you had you would have noticed the extreme similarities between Java and C#; to the point were if you know one, you pretty much know the other.

The History of C#:

Around 1997, Microsoft started a project that was internally known as Project Lightning (and also known as Project 42). The name "Project 42" was most likely because DevDiv (the Microsoft Developer Division) is in Building 42, which (as James points out) is probably an homage to The Hitchhiker's Guide to the Galaxy by Douglas Adams.

There were several names being considered, one of which was the COM Object Runtime (COR), which is where the name for the mscorlib.dll assembly came from. This is the assembly which contains all of the CLR's main types and is really the only one that must be loaded by every .NET app domain.

Speaking of assembly loading, the code name for the CLR Loader is Fusion, which provides the name for the Assembly Log Binding Log Viewer utility - fuslogvw.exe: Fusion Assembly Log Viewer.

The codename of C# was Project Cool and was supposedly a "clean-room" implementation of Java. It was later changed to C# based on a musical scale. Just as C++ added the "++" to "C" since it was considered to be "adding to" or "one greater than" C, the sharp (#) on a musical scale means one semi-tone above the note. So, in both cases the name implies one above or higher than the original.
06/26/2009 11:39 high7#8
Quote:
Originally Posted by jamellathewhite View Post
I am guessing you have failed to move past C# in the programming world in any sense. Because if you had you would have noticed the extreme similarities between Java and C#; to the point were if you know one, you pretty much know the other.

The History of C#:

Around 1997, Microsoft started a project that was internally known as Project Lightning (and also known as Project 42). The name "Project 42" was most likely because DevDiv (the Microsoft Developer Division) is in Building 42, which (as James points out) is probably an homage to The Hitchhiker's Guide to the Galaxy by Douglas Adams.

There were several names being considered, one of which was the COM Object Runtime (COR), which is where the name for the mscorlib.dll assembly came from. This is the assembly which contains all of the CLR's main types and is really the only one that must be loaded by every .NET app domain.

Speaking of assembly loading, the code name for the CLR Loader is Fusion, which provides the name for the Assembly Log Binding Log Viewer utility - fuslogvw.exe: Fusion Assembly Log Viewer.

The codename of C# was Project Cool and was supposedly a "clean-room" implementation of Java. It was later changed to C# based on a musical scale. Just as C++ added the "++" to "C" since it was considered to be "adding to" or "one greater than" C, the sharp (#) on a musical scale means one semi-tone above the note. So, in both cases the name implies one above or higher than the original.
Um... No...
06/26/2009 12:26 forcer#9
Quote:
Originally Posted by high7 View Post
Um... No...
lame way of arguing I must say.
06/26/2009 13:13 high7#10
Quote:
Originally Posted by forcer View Post
lame way of arguing I must say.
Um... No...
06/26/2009 21:43 jamellathewhite#11
Quote:
Originally Posted by high7 View Post
Um... No...
Wow, your an idiot that knows nothing about programming in general. Your simply posting as some way of provoking people to get them to acknowledge your sad pitiful existent in some way.
06/26/2009 23:31 unknownone#12
Quote:
Originally Posted by jamellathewhite View Post
C# and Java are almost the same language, Microsoft made C# to resemble Java ... The difference between C# and Java mainly? C# retains a C/C++ like syntax and same attributes like limited pointer use. .
Java and C++ are almost the same language, Sun made Java to resemble C++ ... The difference between Java and C++ mainly? Java retains a C/C++ like syntax but removes pointer use.

See where I'm going?
06/27/2009 01:28 _tao4229#13
Quote:
Originally Posted by jamellathewhite View Post
Wow, your an idiot that knows nothing about programming in general. Your simply posting as some way of provoking people to get them to acknowledge your sad pitiful existent in some way.
lol'd so hard at this failure of a post