<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/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>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Passing function with parameters</title><link>https://www.infopathdev.com:443/forums/thread/54345.aspx</link><pubDate>Thu, 29 Apr 2010 13:34:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:54345</guid><dc:creator>alexia_net</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/54345.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=54345</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I think i have to use REF. Got it. Thx.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Passing function with parameters</title><link>https://www.infopathdev.com:443/forums/thread/54344.aspx</link><pubDate>Thu, 29 Apr 2010 13:12:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:54344</guid><dc:creator>alexia_net</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/54344.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=54344</wfw:commentRss><description>&lt;p&gt;Hi. I have a problem with a function in C#.&lt;/p&gt;&lt;p&gt;I have declared this function with these parameters:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Info(a, b, c) &lt;/p&gt;&lt;p&gt;I have declared it like this:&lt;/p&gt;&lt;p&gt;public void Info(tmp_a, tmp_b, tmp_c)&lt;/p&gt;&lt;p&gt;{&lt;/p&gt;&lt;p&gt;something&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;p&gt;The question is: If I work with&amp;nbsp; tmp_a, tmp_b, tmp_c and do some changes on them, like assigning new values, when i finish the function, shouldn&amp;#39;t a, b, c have the new values? If not so, how do i do that? In visual basi u can use ByRef. What do i use in C#? Thank you!&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>