<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-72294588039662900.post1013230284129296799..comments</id><updated>2010-06-11T15:39:47.740+02:00</updated><category term='LINQ'/><category term='CLR'/><category term='tools'/><category term='állásajánlat'/><category term='SQL'/><category term='javascript'/><category term='.NET Framework 4.0'/><category term='security'/><category term='wii'/><category term='hosting'/><category term='gotchas'/><category term='private life'/><category term='sensenet'/><category term='LogMeIn'/><category term='windows 7'/><category term='seo'/><category term='mvc'/><category term='jorder'/><category term='visual studio'/><category term='C#'/><category term='MSDN'/><category term='konferencia'/><category term='padlófék'/><category term='Base Class Library'/><category term='Entity framework'/><category term='razor'/><category term='asp.net'/><category term='Patterns'/><category term='project management'/><category term='Tips&apos;N&apos;Tricks'/><category term='cheatsheet'/><category term='caching'/><category term='architecture'/><category term='Dokumentáció'/><category term='Reflector'/><category term='hardware'/><category term='humor'/><title type='text'>Comments on öt perc dotnet: Egy vagy kettő?</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://otperc.net/feeds/1013230284129296799/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/72294588039662900/1013230284129296799/comments/default'/><link rel='alternate' type='text/html' href='http://otperc.net/2010/05/egy-vagy-ketto.html'/><author><name>Molnár Gergő</name><uri>http://www.blogger.com/profile/05139074877599679722</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_hb-k5lQC-M8/SRnjwbiNGSI/AAAAAAAAAUo/fz978a07vL0/S220/fej3.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>7</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-72294588039662900.post-5781148309899757769</id><published>2010-06-11T15:39:47.735+02:00</published><updated>2010-06-11T15:39:47.735+02:00</updated><title type='text'>1. Egyértelmű :)</title><content type='html'>1. Egyértelmű :)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/72294588039662900/1013230284129296799/comments/default/5781148309899757769'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/72294588039662900/1013230284129296799/comments/default/5781148309899757769'/><link rel='alternate' type='text/html' href='http://otperc.net/2010/05/egy-vagy-ketto.html?showComment=1276263587735#c5781148309899757769' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://otperc.net/2010/05/egy-vagy-ketto.html' ref='tag:blogger.com,1999:blog-72294588039662900.post-1013230284129296799' source='http://www.blogger.com/feeds/72294588039662900/posts/default/1013230284129296799' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1565342747'/></entry><entry><id>tag:blogger.com,1999:blog-72294588039662900.post-8381859100423405540</id><published>2010-06-11T12:22:22.906+02:00</published><updated>2010-06-11T12:22:22.906+02:00</updated><title type='text'>Referencia típusnál is mindig ugyanaz a példány le...</title><content type='html'>Referencia típusnál is mindig ugyanaz a példány lesz visszaadva (a fenti példánál maradva, a finally-ban egy result = new Product() &amp;quot;hatástalan&amp;quot; lenne), viszont az adott referencia által mutatott példány tulajdonságai módosíthatóak.&lt;br /&gt;A string-nél - mivel a .NET-ben immutable - ez merőben teoretikus lehetőség. :)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/72294588039662900/1013230284129296799/comments/default/8381859100423405540'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/72294588039662900/1013230284129296799/comments/default/8381859100423405540'/><link rel='alternate' type='text/html' href='http://otperc.net/2010/05/egy-vagy-ketto.html?showComment=1276251742906#c8381859100423405540' title=''/><author><name>Molnár Gergő</name><uri>http://www.blogger.com/profile/05139074877599679722</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='15966951835176790603'/><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_hb-k5lQC-M8/SRnjwbiNGSI/AAAAAAAAAUo/fz978a07vL0/S220/fej3.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://otperc.net/2010/05/egy-vagy-ketto.html' ref='tag:blogger.com,1999:blog-72294588039662900.post-1013230284129296799' source='http://www.blogger.com/feeds/72294588039662900/posts/default/1013230284129296799' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-551937494'/></entry><entry><id>tag:blogger.com,1999:blog-72294588039662900.post-2837697521649431038</id><published>2010-06-10T22:44:43.557+02:00</published><updated>2010-06-10T22:44:43.557+02:00</updated><title type='text'>Na és vajon string-et választva, ami ugye referenc...</title><content type='html'>Na és vajon string-et választva, ami ugye referencia típus, miért mégis a return akarata érvényesül? :)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/72294588039662900/1013230284129296799/comments/default/2837697521649431038'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/72294588039662900/1013230284129296799/comments/default/2837697521649431038'/><link rel='alternate' type='text/html' href='http://otperc.net/2010/05/egy-vagy-ketto.html?showComment=1276202683557#c2837697521649431038' title=''/><author><name>Tátrai</name><uri>http://www.blogger.com/profile/03152571633570196398</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://otperc.net/2010/05/egy-vagy-ketto.html' ref='tag:blogger.com,1999:blog-72294588039662900.post-1013230284129296799' source='http://www.blogger.com/feeds/72294588039662900/posts/default/1013230284129296799' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-318187637'/></entry><entry><id>tag:blogger.com,1999:blog-72294588039662900.post-976709976002060535</id><published>2010-05-13T12:34:36.814+02:00</published><updated>2010-05-13T12:34:36.814+02:00</updated><title type='text'>Ez azért nem annyira bonyolult. A teljes return so...</title><content type='html'>Ez azért nem annyira bonyolult. A teljes return sor kiértékelődik, majd a finally fut le. Mivel a result value típus, ezért a finally nem a viszaadandó másolatot módosítja.&lt;br /&gt;&lt;br /&gt;surex példájában is ugyanaz a lefutás van, csak ott persze a hívó már az ID=2-t fogja látni, de a return értéken, azaz a referencián nem változtat a finally.&lt;br /&gt;&lt;br /&gt;Tök jók ezek a kis fejtörők! Még! :))</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/72294588039662900/1013230284129296799/comments/default/976709976002060535'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/72294588039662900/1013230284129296799/comments/default/976709976002060535'/><link rel='alternate' type='text/html' href='http://otperc.net/2010/05/egy-vagy-ketto.html?showComment=1273746876814#c976709976002060535' title=''/><author><name>firestrm</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://otperc.net/2010/05/egy-vagy-ketto.html' ref='tag:blogger.com,1999:blog-72294588039662900.post-1013230284129296799' source='http://www.blogger.com/feeds/72294588039662900/posts/default/1013230284129296799' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-2093681056'/></entry><entry><id>tag:blogger.com,1999:blog-72294588039662900.post-2963965505880891085</id><published>2010-05-13T09:37:42.031+02:00</published><updated>2010-05-13T09:37:42.031+02:00</updated><title type='text'>Itt a finally nagyobb úr :)
public Product GetInte...</title><content type='html'>Itt a finally nagyobb úr :)&lt;br /&gt;public Product GetInteger()&lt;br /&gt;{&lt;br /&gt;   Product result = new Product();&lt;br /&gt;   try&lt;br /&gt;   {&lt;br /&gt;      result.ID = 3;&lt;br /&gt;      return result;&lt;br /&gt;   }&lt;br /&gt;   finally&lt;br /&gt;   {&lt;br /&gt;       result.ID = 2;&lt;br /&gt;   }&lt;br /&gt;}</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/72294588039662900/1013230284129296799/comments/default/2963965505880891085'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/72294588039662900/1013230284129296799/comments/default/2963965505880891085'/><link rel='alternate' type='text/html' href='http://otperc.net/2010/05/egy-vagy-ketto.html?showComment=1273736262031#c2963965505880891085' title=''/><author><name>surex</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://otperc.net/2010/05/egy-vagy-ketto.html' ref='tag:blogger.com,1999:blog-72294588039662900.post-1013230284129296799' source='http://www.blogger.com/feeds/72294588039662900/posts/default/1013230284129296799' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1878015764'/></entry><entry><id>tag:blogger.com,1999:blog-72294588039662900.post-5244850361123025424</id><published>2010-05-13T00:20:23.089+02:00</published><updated>2010-05-13T00:20:23.089+02:00</updated><title type='text'>Akárcsak a finally.</title><content type='html'>Akárcsak a finally.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/72294588039662900/1013230284129296799/comments/default/5244850361123025424'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/72294588039662900/1013230284129296799/comments/default/5244850361123025424'/><link rel='alternate' type='text/html' href='http://otperc.net/2010/05/egy-vagy-ketto.html?showComment=1273702823089#c5244850361123025424' title=''/><author><name>Molnár Gergő</name><uri>http://www.blogger.com/profile/05139074877599679722</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='15966951835176790603'/><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_hb-k5lQC-M8/SRnjwbiNGSI/AAAAAAAAAUo/fz978a07vL0/S220/fej3.jpg'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://otperc.net/2010/05/egy-vagy-ketto.html' ref='tag:blogger.com,1999:blog-72294588039662900.post-1013230284129296799' source='http://www.blogger.com/feeds/72294588039662900/posts/default/1013230284129296799' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-551937494'/></entry><entry><id>tag:blogger.com,1999:blog-72294588039662900.post-3381123384807660218</id><published>2010-05-13T00:17:13.216+02:00</published><updated>2010-05-13T00:17:13.216+02:00</updated><title type='text'>a return azért nagy úr</title><content type='html'>a return azért nagy úr</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/72294588039662900/1013230284129296799/comments/default/3381123384807660218'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/72294588039662900/1013230284129296799/comments/default/3381123384807660218'/><link rel='alternate' type='text/html' href='http://otperc.net/2010/05/egy-vagy-ketto.html?showComment=1273702633216#c3381123384807660218' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://otperc.net/2010/05/egy-vagy-ketto.html' ref='tag:blogger.com,1999:blog-72294588039662900.post-1013230284129296799' source='http://www.blogger.com/feeds/72294588039662900/posts/default/1013230284129296799' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-215390435'/></entry></feed>
