<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Top 10 differences between Java and C#</title>
	<atom:link href="http://rayli.net/blog/2008/04/top-10-differences-between-java-and-c/feed/" rel="self" type="application/rss+xml" />
	<link>http://rayli.net/blog/2008/04/top-10-differences-between-java-and-c/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=top-10-differences-between-java-and-c</link>
	<description></description>
	<lastBuildDate>Sun, 06 May 2012 18:08:52 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: Nagmani Singh</title>
		<link>http://rayli.net/blog/2008/04/top-10-differences-between-java-and-c/comment-page-1/#comment-11366</link>
		<dc:creator>Nagmani Singh</dc:creator>
		<pubDate>Sat, 03 Dec 2011 07:37:06 +0000</pubDate>
		<guid isPermaLink="false">http://rayli.net/blog/?p=56#comment-11366</guid>
		<description>if u can make the difference column wise side by side it would be better to understand and how java is partial class even if we have wrapper class for implementing the primitives data types as a object??????</description>
		<content:encoded><![CDATA[<p>if u can make the difference column wise side by side it would be better to understand and how java is partial class even if we have wrapper class for implementing the primitives data types as a object??????</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: HoNgOuRu</title>
		<link>http://rayli.net/blog/2008/04/top-10-differences-between-java-and-c/comment-page-1/#comment-2714</link>
		<dc:creator>HoNgOuRu</dc:creator>
		<pubDate>Mon, 01 Nov 2010 14:07:48 +0000</pubDate>
		<guid isPermaLink="false">http://rayli.net/blog/?p=56#comment-2714</guid>
		<description>I really like the design of your blog, mine stinks! LOL.
I&#039;m really new to blogging. Well Good Bye!</description>
		<content:encoded><![CDATA[<p>I really like the design of your blog, mine stinks! LOL.<br />
I&#8217;m really new to blogging. Well Good Bye!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: HoNgOuRu</title>
		<link>http://rayli.net/blog/2008/04/top-10-differences-between-java-and-c/comment-page-1/#comment-2713</link>
		<dc:creator>HoNgOuRu</dc:creator>
		<pubDate>Mon, 01 Nov 2010 14:03:54 +0000</pubDate>
		<guid isPermaLink="false">http://rayli.net/blog/?p=56#comment-2713</guid>
		<description>Hi, ofcourse the ArrayList exists in c#

just use the &quot;using System.Collections&quot; namepsace and you will be able to create ArrayList objects. 

I got a C# ArrayList post in by blog...

and in &quot;what happened to super&quot; I believe that its the same in c# but called base

this.base will call his super class.</description>
		<content:encoded><![CDATA[<p>Hi, ofcourse the ArrayList exists in c#</p>
<p>just use the &#8220;using System.Collections&#8221; namepsace and you will be able to create ArrayList objects. </p>
<p>I got a C# ArrayList post in by blog&#8230;</p>
<p>and in &#8220;what happened to super&#8221; I believe that its the same in c# but called base</p>
<p>this.base will call his super class.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Facebook Proxy</title>
		<link>http://rayli.net/blog/2008/04/top-10-differences-between-java-and-c/comment-page-1/#comment-51</link>
		<dc:creator>Facebook Proxy</dc:creator>
		<pubDate>Mon, 05 Apr 2010 04:32:18 +0000</pubDate>
		<guid isPermaLink="false">http://rayli.net/blog/?p=56#comment-51</guid>
		<description>Hey, I just hopped over to your site via StumbleUpon.  Not somthing I would normally read, but I liked your thoughts none the less.  Thanks for making something worth reading.</description>
		<content:encoded><![CDATA[<p>Hey, I just hopped over to your site via StumbleUpon.  Not somthing I would normally read, but I liked your thoughts none the less.  Thanks for making something worth reading.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jared</title>
		<link>http://rayli.net/blog/2008/04/top-10-differences-between-java-and-c/comment-page-1/#comment-28</link>
		<dc:creator>Jared</dc:creator>
		<pubDate>Fri, 09 Jan 2009 19:55:45 +0000</pubDate>
		<guid isPermaLink="false">http://rayli.net/blog/?p=56#comment-28</guid>
		<description>Your #1 reason isn&#039;t exactly true. Most types derive from Object, but there are exceptions. In C# there are reference types and value types. Types like int and bool are value types, whereas string is a reference type. Every class you create will be a reference type, whereas every struct you create will be a value type. This is important when you want to pass your objects as variables to a function and expect to be able to change values and have those changes after the function returns.</description>
		<content:encoded><![CDATA[<p>Your #1 reason isn&#8217;t exactly true. Most types derive from Object, but there are exceptions. In C# there are reference types and value types. Types like int and bool are value types, whereas string is a reference type. Every class you create will be a reference type, whereas every struct you create will be a value type. This is important when you want to pass your objects as variables to a function and expect to be able to change values and have those changes after the function returns.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raymond Li</title>
		<link>http://rayli.net/blog/2008/04/top-10-differences-between-java-and-c/comment-page-1/#comment-20</link>
		<dc:creator>Raymond Li</dc:creator>
		<pubDate>Tue, 23 Sep 2008 03:18:21 +0000</pubDate>
		<guid isPermaLink="false">http://rayli.net/blog/?p=56#comment-20</guid>
		<description>@Guy Mac: I can see how the original phrasing was confusing.  I have changed it now.  Thanks!</description>
		<content:encoded><![CDATA[<p>@Guy Mac: I can see how the original phrasing was confusing.  I have changed it now.  Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Guy Mac</title>
		<link>http://rayli.net/blog/2008/04/top-10-differences-between-java-and-c/comment-page-1/#comment-19</link>
		<dc:creator>Guy Mac</dc:creator>
		<pubDate>Mon, 22 Sep 2008 21:17:31 +0000</pubDate>
		<guid isPermaLink="false">http://rayli.net/blog/?p=56#comment-19</guid>
		<description>One Error, Java&#039;s ArrayList is not thread-safe, Vector is. Likewise with HashMap and Hashtable.</description>
		<content:encoded><![CDATA[<p>One Error, Java&#8217;s ArrayList is not thread-safe, Vector is. Likewise with HashMap and Hashtable.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James</title>
		<link>http://rayli.net/blog/2008/04/top-10-differences-between-java-and-c/comment-page-1/#comment-18</link>
		<dc:creator>James</dc:creator>
		<pubDate>Thu, 18 Sep 2008 16:05:40 +0000</pubDate>
		<guid isPermaLink="false">http://rayli.net/blog/?p=56#comment-18</guid>
		<description>I agree with Alex. The exception handling is the biggest gotcha I found with C# which drives me crazy. I always feel like I&#039;m throwing caution to the wind by not having SOME exception handling code being demanded by the compiler...

On the subject of exceptions, C# and Java use different syntax to rethrow an exception... i.e. &quot;throw;&quot; vs &quot;throw e;&quot;.</description>
		<content:encoded><![CDATA[<p>I agree with Alex. The exception handling is the biggest gotcha I found with C# which drives me crazy. I always feel like I&#8217;m throwing caution to the wind by not having SOME exception handling code being demanded by the compiler&#8230;</p>
<p>On the subject of exceptions, C# and Java use different syntax to rethrow an exception&#8230; i.e. &#8220;throw;&#8221; vs &#8220;throw e;&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jingchen</title>
		<link>http://rayli.net/blog/2008/04/top-10-differences-between-java-and-c/comment-page-1/#comment-17</link>
		<dc:creator>Jingchen</dc:creator>
		<pubDate>Thu, 18 Sep 2008 01:18:42 +0000</pubDate>
		<guid isPermaLink="false">http://rayli.net/blog/?p=56#comment-17</guid>
		<description>generic in C# is like:
public class MyClass where T : IMyInterface
{
}

&quot;where T : IMyInterface&quot; tell the compiler the type of T must implements IMyInterface.
u also can write &quot;where T : class&quot; to restrict T to be a class but not a struct. (struct is an light-weight class in C#)</description>
		<content:encoded><![CDATA[<p>generic in C# is like:<br />
public class MyClass where T : IMyInterface<br />
{<br />
}</p>
<p>&#8220;where T : IMyInterface&#8221; tell the compiler the type of T must implements IMyInterface.<br />
u also can write &#8220;where T : class&#8221; to restrict T to be a class but not a struct. (struct is an light-weight class in C#)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raymond Li</title>
		<link>http://rayli.net/blog/2008/04/top-10-differences-between-java-and-c/comment-page-1/#comment-16</link>
		<dc:creator>Raymond Li</dc:creator>
		<pubDate>Wed, 17 Sep 2008 21:12:34 +0000</pubDate>
		<guid isPermaLink="false">http://rayli.net/blog/?p=56#comment-16</guid>
		<description>@malino01: Good catch! I changed the wording.</description>
		<content:encoded><![CDATA[<p>@malino01: Good catch! I changed the wording.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

