<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://msmvps.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Differences between C# and C++/CLI, part 1</title><link>http://msmvps.com/blogs/vandooren/archive/2006/08/31/Differences-between-C_2300_-and-C_2B002B002F00_CLI_2C00_-part-1.aspx</link><description>Learning C# if you already know C++ is relatively easy. The syntax is similar, and the semantics are definitely a lot easier to understand. Since C# looks like C++, most of the concepts are easy to learn, but here and there are a few details that might</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><item><title>re: Differences between C# and C++/CLI, part 1</title><link>http://msmvps.com/blogs/vandooren/archive/2006/08/31/Differences-between-C_2300_-and-C_2B002B002F00_CLI_2C00_-part-1.aspx#1358707</link><pubDate>Mon, 26 Nov 2007 21:09:50 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1358707</guid><dc:creator>vanDooren</dc:creator><description>&lt;p&gt;Hi sorry for the late repIy. It was a busy couple of weeks.&lt;/p&gt;
&lt;p&gt;I have not really looked into this, but C++ does not know the notion of output only.&lt;/p&gt;
&lt;p&gt;It is either by reference or by value.&lt;/p&gt;
&lt;p&gt;DCOM has the notion of input / output or both, but that is a marshaling issue. Marshaling only takes place for the IO direction that was specified in the IDL declaration.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1358707" width="1" height="1"&gt;</description></item><item><title>re: Differences between C# and C++/CLI, part 1</title><link>http://msmvps.com/blogs/vandooren/archive/2006/08/31/Differences-between-C_2300_-and-C_2B002B002F00_CLI_2C00_-part-1.aspx#1296991</link><pubDate>Sun, 11 Nov 2007 05:07:09 GMT</pubDate><guid isPermaLink="false">d67277c4-116b-43f1-b688-e9ef184ea916:1296991</guid><dc:creator>ytosa</dc:creator><description>&lt;p&gt;What is the corresponding C# &amp;quot;out&amp;quot; for C++/CLI?&lt;/p&gt;
&lt;p&gt;C# you can have foo (out int [] a) &amp;nbsp;or foo (ref int [] a)&lt;/p&gt;
&lt;p&gt;I know how to do the second one in C++/CLI like&lt;/p&gt;
&lt;p&gt;foo( array&amp;lt;int&amp;gt;^% a)&lt;/p&gt;
&lt;p&gt;Can you tell the first one in C++/CLI?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://msmvps.com/aggbug.aspx?PostID=1296991" width="1" height="1"&gt;</description></item></channel></rss>