<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:evnet="http://www.mscommunities.com/rssmodule/"><channel><title>Entries for ilya</title><atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/niners/ilya/rss/default.aspx" /><image><url>http://mschnlnine.vo.llnwd.net/d1/Dev/App_Themes/C9/images/feedimage.png</url><title>Entries for ilya</title><link>http://channel9.msdn.com/Niners/ilya/</link></image><description>Entries, comments and threads posted by ilya</description><link>http://channel9.msdn.com/Niners/ilya/</link><language>en-us</language><pubDate>Mon, 16 Apr 2007 14:26:06 GMT</pubDate><lastBuildDate>Mon, 16 Apr 2007 14:26:06 GMT</lastBuildDate><generator>EvNet (EvNet, Version=1.0.3170.1238, Culture=neutral, PublicKeyToken=null)</generator><item><title>Help with Multi Level Organization [Help with Multi Level Organization]</title><description>Does anyone here know of a good place to look for how to best&lt;br /&gt;design an Multi Level Organizational structure?&lt;br /&gt;I have been searching on the web for some time now and I can't&lt;br /&gt;seem to find anything at all.&lt;br /&gt;&lt;br /&gt;Thanks in advance.&lt;br /&gt;&lt;br /&gt;Ilya&lt;p&gt;in reply to &lt;a href='http://channel9.msdn.com/forums/TechOff/254055-Help-with-Multi-Level-Organization/'&gt;Help with Multi Level Organization&lt;/a&gt;&lt;/p&gt;&lt;img src="http://channel9.msdn.com/254055/WebViewBug.aspx?EVT=0" height="1" width="1" alt="" /&gt;</description><comments>http://channel9.msdn.com/forums/TechOff/254055-Help-with-Multi-Level-Organization/</comments><link>http://channel9.msdn.com/forums/TechOff/254055-Help-with-Multi-Level-Organization/</link><pubDate>Mon, 16 Apr 2007 14:26:06 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/forums/TechOff/254055-Help-with-Multi-Level-Organization/</guid><evnet:views>1014</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/254055/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>Does anyone here know of a good place to look for how to best&lt;br /&gt;design an Multi Level Organizational structure?&lt;br /&gt;I have been searching on the web for some time now and I can't&lt;br /&gt;seem to find anything at all.&lt;br /&gt;&lt;br /&gt;Thanks in advance.&lt;br /&gt;&lt;br /&gt;Ilya</evnet:previewtext><dc:creator>ilya</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://channel9.msdn.com/forums/TechOff/254055-Help-with-Multi-Level-Organization/RSS/</wfw:commentRss><trackback:ping>http://channel9.msdn.com/254055/Trackback.aspx</trackback:ping></item><item><title>Get objects casted type. Possible? [Get objects casted type. Possible?]</title><description>Not sure if anyone ever tried but I am currently working on a piece&lt;br /&gt;of functionality in my application and what I want to try to&lt;br /&gt;do is perform different set of logic if the type&lt;br /&gt;that I am working with can figure out what type it was casted into.&lt;br /&gt;For example:&lt;br /&gt;&lt;br /&gt;1) I have a User type and it has ID and Username properties.&lt;br /&gt;2) I have a Person type inheriting from User but it also has it's own&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID property and Firstname. The ID property is being initialized&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; with a new tag.&lt;br /&gt;&lt;br /&gt;What I want to be able to do is when I create my Person class&lt;br /&gt;and I try to access it's ID property I would get the value that was&lt;br /&gt;assiged to it. But when the object get's casted into a User type&lt;br /&gt;I want to be able to get the value that is assiged to the ID property&lt;br /&gt;of the User type. But the trick is that I want to be able to figure this&lt;br /&gt;logic out from inside the User type.&lt;br /&gt;&lt;br /&gt;The problem is that if I say inside the User type this.GetType() and&lt;br /&gt;the object that i am dealing with is a Person it will always tell me&lt;br /&gt;that it is a Person type.&lt;br /&gt;&lt;br /&gt;Any thoughts?&lt;br /&gt;&lt;br /&gt;Thanks in advance.&lt;p&gt;in reply to &lt;a href='http://channel9.msdn.com/forums/TechOff/253505-Get-objects-casted-type-Possible/'&gt;Get objects casted type. Possible?&lt;/a&gt;&lt;/p&gt;&lt;img src="http://channel9.msdn.com/253505/WebViewBug.aspx?EVT=0" height="1" width="1" alt="" /&gt;</description><comments>http://channel9.msdn.com/forums/TechOff/253505-Get-objects-casted-type-Possible/</comments><link>http://channel9.msdn.com/forums/TechOff/253505-Get-objects-casted-type-Possible/</link><pubDate>Tue, 27 Mar 2007 14:39:19 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/forums/TechOff/253505-Get-objects-casted-type-Possible/</guid><evnet:views>5625</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/253505/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>Not sure if anyone ever tried but I am currently working on a piece&lt;br /&gt;of functionality in my application and what I want to try to&lt;br /&gt;do is perform different set of logic if the type&lt;br /&gt;that I am working with can figure out what type it was casted into.&lt;br /&gt;For example:&lt;br /&gt;&lt;br /&gt;1) I have a User type and it has ID and Username properties.&lt;br /&gt;2) I have a Person type inheriting from User but it also has it's own&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID property and Firstname. The ID property is being initialized&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; with a new tag.&lt;br /&gt;&lt;br /&gt;What I want to be able to do is when I create my Person class&lt;br /&gt;</evnet:previewtext><dc:creator>ilya</dc:creator><slash:comments>23</slash:comments><wfw:commentRss>http://channel9.msdn.com/forums/TechOff/253505-Get-objects-casted-type-Possible/RSS/</wfw:commentRss><trackback:ping>http://channel9.msdn.com/253505/Trackback.aspx</trackback:ping></item><item><title>Visual Studio .NET 2003 SP1 is Here [Visual Studio .NET 2003 SP1 is Here]</title><description>It's here it's here.&lt;br /&gt;&lt;br /&gt;Microsoft has finally shipped Visual Studio .NET 2003 SP1.&lt;br /&gt;&lt;br /&gt;You can get it here:&lt;br /&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=69d2219f-ce82-46a5-8aec-072bd4bb955e&amp;amp;displaylang=en"&gt;http://www.microsoft.com/downloads/details.aspx?familyid=69d2219f-ce82-46a5-8aec-072bd4bb955e&amp;amp;displaylang=en&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Enjoy.&lt;br /&gt;&lt;br /&gt;Ilya&lt;p&gt;in reply to &lt;a href='http://channel9.msdn.com/forums/TechOff/221533-Visual-Studio-NET-2003-SP1-is-Here/'&gt;Visual Studio .NET 2003 SP1 is Here&lt;/a&gt;&lt;/p&gt;&lt;img src="http://channel9.msdn.com/221533/WebViewBug.aspx?EVT=0" height="1" width="1" alt="" /&gt;</description><comments>http://channel9.msdn.com/forums/TechOff/221533-Visual-Studio-NET-2003-SP1-is-Here/</comments><link>http://channel9.msdn.com/forums/TechOff/221533-Visual-Studio-NET-2003-SP1-is-Here/</link><pubDate>Thu, 17 Aug 2006 16:06:03 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/forums/TechOff/221533-Visual-Studio-NET-2003-SP1-is-Here/</guid><evnet:views>6696</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/221533/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>It's here it's here.&lt;br /&gt;&lt;br /&gt;Microsoft has finally shipped Visual Studio .NET 2003 SP1.&lt;br /&gt;&lt;br /&gt;You can get it here:&lt;br /&gt;&lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=69d2219f-ce82-46a5-8aec-072bd4bb955e&amp;amp;displaylang=en"&gt;http://www.microsoft.com/downloads/details.aspx?familyid=69d2219f-ce82-46a5-8aec-072bd4bb955e&amp;amp;displaylang=en&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Enjoy.&lt;br /&gt;&lt;br /&gt;Ilya</evnet:previewtext><dc:creator>ilya</dc:creator><slash:comments>10</slash:comments><wfw:commentRss>http://channel9.msdn.com/forums/TechOff/221533-Visual-Studio-NET-2003-SP1-is-Here/RSS/</wfw:commentRss><trackback:ping>http://channel9.msdn.com/221533/Trackback.aspx</trackback:ping></item><item><title>Visual Studio 2003 SP1  ??When?? [Visual Studio 2003 SP1  ??When??]</title><description>I was just wondering if anyone knew as to when Microsoft is actually planning to release the promissed SP1 for Visual Studio 2003.&lt;br /&gt;I have seen a lot of articles say that the RTM date is set for 6/1/2006 and I have been checking both the Subscriber downloads on MSDN subscription and anywhere else I could to see if it's released but to no avail.&lt;br /&gt;&lt;br /&gt;Does anyone know anything about this?&lt;br /&gt;Does anyone care about this SP?&lt;br /&gt;&lt;br /&gt;My VS2003 crashes on me constantly when I try to attach to process in order to debug it and I have to re-load my solution all the time. Does anyone know of any fixes for this?&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;&lt;br /&gt;Some Articles that talk about the release dates:&lt;br /&gt;&lt;a href="http://msdn.microsoft.com/vstudio/support/servicing/sp1_vs03/default.aspx"&gt;&lt;strong&gt;http://msdn.microsoft.com/vstudio/support/servicing/sp1_vs03/default.aspx&lt;/strong&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://arstechnica.com/journals/microsoft.ars/2005/11/9/1770"&gt;http://arstechnica.com/journals/microsoft.ars/2005/11/9/1770&lt;/a&gt;&lt;br /&gt;&lt;a href="http://blogs.msdn.com/scottwil/archive/2005/11/07/490007.aspx"&gt;http://blogs.msdn.com/scottwil/archive/2005/11/07/490007.aspx&lt;/a&gt;&lt;br /&gt;&lt;a href="http://blogs.msdn.com/ddcpxblg/archive/2006/03/20/555738.aspx"&gt;http://blogs.msdn.com/ddcpxblg/archive/2006/03/20/555738.aspx&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.microsoft-watch.com/article2/0,2180,1883868,00.asp"&gt;http://www.microsoft-watch.com/article2/0,2180,1883868,00.asp&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.codeguru.com/announcements/article.php/3591946/"&gt;http://www.codeguru.com/announcements/article.php/3591946/&lt;/a&gt;&lt;p&gt;in reply to &lt;a href='http://channel9.msdn.com/forums/Coffeehouse/199617-Visual-Studio-2003-SP1-When/'&gt;Visual Studio 2003 SP1  ??When??&lt;/a&gt;&lt;/p&gt;&lt;img src="http://channel9.msdn.com/199617/WebViewBug.aspx?EVT=0" height="1" width="1" alt="" /&gt;</description><comments>http://channel9.msdn.com/forums/Coffeehouse/199617-Visual-Studio-2003-SP1-When/</comments><link>http://channel9.msdn.com/forums/Coffeehouse/199617-Visual-Studio-2003-SP1-When/</link><pubDate>Wed, 14 Jun 2006 13:15:18 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/forums/Coffeehouse/199617-Visual-Studio-2003-SP1-When/</guid><evnet:views>6342</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/199617/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>I was just wondering if anyone knew as to when Microsoft is actually planning to release the promissed SP1 for Visual Studio 2003.&lt;br /&gt;I have seen a lot of articles say that the RTM date is set for 6/1/2006 and I have been checking both the Subscriber downloads on MSDN subscription and anywhere else I could to see if it's released but to no avail.&lt;br /&gt;&lt;br /&gt;Does anyone know anything about this?&lt;br /&gt;Does anyone care about this SP?&lt;br /&gt;&lt;br /&gt;My VS2003 crashes on me constantly when I try to attach to process in order to debug it and I have to re-load my solution all the time. Does anyone know of any fixes for this?&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;&lt;br /&gt;</evnet:previewtext><dc:creator>ilya</dc:creator><slash:comments>9</slash:comments><wfw:commentRss>http://channel9.msdn.com/forums/Coffeehouse/199617-Visual-Studio-2003-SP1-When/RSS/</wfw:commentRss><trackback:ping>http://channel9.msdn.com/199617/Trackback.aspx</trackback:ping></item><item><title>ConfigurationSection question [ConfigurationSection question]</title><description>&amp;nbsp;&amp;nbsp;&amp;nbsp; I am trying to create a custom Configuration Section that will have this kind  
&lt;br /&gt;
of an xml representation 
&lt;br /&gt;
 
&lt;br /&gt;
&amp;lt;CustomSection&amp;gt; 
&lt;br /&gt;&amp;nbsp; &amp;lt;Objects&amp;gt; 
&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Object type="sometype"&amp;gt; 
&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Property name="someproperty" anotherAttribute="somevalue"/&amp;gt; 
&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Property name="someproperty" anotherAttribute="secondvalue"/&amp;gt; 
&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/Object&amp;gt; 
&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Object type="sometype"&amp;gt; 
&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Property name="someproperty" anotherAttribute="somevalue"/&amp;gt; 
&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Property name="someproperty" anotherAttribute="secondvalue"/&amp;gt; 
&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/Object&amp;gt; 
&lt;br /&gt;&amp;nbsp; &amp;lt;/Objects&amp;gt; 
&lt;br /&gt;
&amp;lt;/CustomSection&amp;gt; 
&lt;br /&gt;
 
&lt;br /&gt;
The problem that I am having is that I am not able to create the  "Property"  
&lt;br /&gt;
level collection, everything else is getting created and written out, but the  
&lt;br /&gt;
Property elements are not being rendered out to the config file. 
&lt;br /&gt;
If anyone has ever ran across this type of issue, any help would be greatly  
&lt;br /&gt;
appriciated. 
&lt;br /&gt;
 
&lt;br /&gt;
Thanks, 
&lt;br /&gt;
 
&lt;br /&gt;
Ilya&lt;p&gt;in reply to &lt;a href='http://channel9.msdn.com/forums/TechOff/188445-ConfigurationSection-question/'&gt;ConfigurationSection question&lt;/a&gt;&lt;/p&gt;&lt;img src="http://channel9.msdn.com/188445/WebViewBug.aspx?EVT=0" height="1" width="1" alt="" /&gt;</description><comments>http://channel9.msdn.com/forums/TechOff/188445-ConfigurationSection-question/</comments><link>http://channel9.msdn.com/forums/TechOff/188445-ConfigurationSection-question/</link><pubDate>Mon, 15 May 2006 04:56:41 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/forums/TechOff/188445-ConfigurationSection-question/</guid><evnet:views>3122</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/188445/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>&amp;nbsp;&amp;nbsp;&amp;nbsp; I am trying to create a custom Configuration Section that will have this kind  
&lt;br /&gt;
of an xml representation 
&lt;br /&gt;
 
&lt;br /&gt;
&amp;lt;CustomSection&amp;gt; 
&lt;br /&gt;&amp;nbsp; &amp;lt;Objects&amp;gt; 
&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Object type="sometype"&amp;gt; 
&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Property name="someproperty" anotherAttribute="somevalue"/&amp;gt; 
&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Property name="someproperty" anotherAttribute="secondvalue"/&amp;gt; 
&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/Object&amp;gt; 
&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Object type="sometype"&amp;gt; 
&lt;br /&gt;</evnet:previewtext><dc:creator>ilya</dc:creator><slash:comments>1</slash:comments><wfw:commentRss>http://channel9.msdn.com/forums/TechOff/188445-ConfigurationSection-question/RSS/</wfw:commentRss><trackback:ping>http://channel9.msdn.com/188445/Trackback.aspx</trackback:ping></item><item><title>Attaching to Managed Process [Attaching to Managed Process]</title><description>&lt;p&gt;I always wanted to be able to attach to a Managed Process from another Managed application. &lt;br /&gt;But I have not been able to find anything that will help me in doing this.&lt;br /&gt;I was wondering if anyone has ever done this and if they could suplly me with some examples of how to do this.&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;&lt;br /&gt;Ilya&lt;/p&gt;&lt;p&gt;in reply to &lt;a href='http://channel9.msdn.com/forums/TechOff/154797-Attaching-to-Managed-Process/'&gt;Attaching to Managed Process&lt;/a&gt;&lt;/p&gt;&lt;img src="http://channel9.msdn.com/154797/WebViewBug.aspx?EVT=0" height="1" width="1" alt="" /&gt;</description><comments>http://channel9.msdn.com/forums/TechOff/154797-Attaching-to-Managed-Process/</comments><link>http://channel9.msdn.com/forums/TechOff/154797-Attaching-to-Managed-Process/</link><pubDate>Fri, 27 Jan 2006 20:12:39 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/forums/TechOff/154797-Attaching-to-Managed-Process/</guid><evnet:views>2861</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/154797/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>&lt;p&gt;I always wanted to be able to attach to a Managed Process from another Managed application. &lt;br /&gt;But I have not been able to find anything that will help me in doing this.&lt;br /&gt;I was wondering if anyone has ever done this and if they could suplly me with some examples of how to do this.&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;&lt;br /&gt;Ilya&lt;/p&gt;</evnet:previewtext><dc:creator>ilya</dc:creator><slash:comments>2</slash:comments><wfw:commentRss>http://channel9.msdn.com/forums/TechOff/154797-Attaching-to-Managed-Process/RSS/</wfw:commentRss><trackback:ping>http://channel9.msdn.com/154797/Trackback.aspx</trackback:ping></item><item><title>LCD Monitor vs Plasma/LCD TV? [LCD Monitor vs Plasma/LCD TV?]</title><description>I don't know if anyone heard, but Dell has recenty released their 30" LCD Widescreen.&lt;br /&gt;The question that I have is would it be a good idea to build a Windows Media Center PC with the 30" LCD Monitor from dell and use it instead of a Plasma or LCD TV.&lt;br /&gt;&lt;br /&gt;What are the Pros and the Cons for doing this?&lt;br /&gt;I want to be able to record shows on from my Cable TV and play them back and also watch regular DVD's.&lt;br /&gt;And since this is going to be an actual computer even play games on it.&lt;br /&gt;Also what would be some good hardware specs for a good computer like this.&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;&lt;p&gt;in reply to &lt;a href='http://channel9.msdn.com/forums/Coffeehouse/150382-LCD-Monitor-vs-PlasmaLCD-TV/'&gt;LCD Monitor vs Plasma/LCD TV?&lt;/a&gt;&lt;/p&gt;&lt;img src="http://channel9.msdn.com/150382/WebViewBug.aspx?EVT=0" height="1" width="1" alt="" /&gt;</description><comments>http://channel9.msdn.com/forums/Coffeehouse/150382-LCD-Monitor-vs-PlasmaLCD-TV/</comments><link>http://channel9.msdn.com/forums/Coffeehouse/150382-LCD-Monitor-vs-PlasmaLCD-TV/</link><pubDate>Wed, 11 Jan 2006 23:23:13 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/forums/Coffeehouse/150382-LCD-Monitor-vs-PlasmaLCD-TV/</guid><evnet:views>14884</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/150382/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>I don't know if anyone heard, but Dell has recenty released their 30" LCD Widescreen.&lt;br /&gt;The question that I have is would it be a good idea to build a Windows Media Center PC with the 30" LCD Monitor from dell and use it instead of a Plasma or LCD TV.&lt;br /&gt;&lt;br /&gt;What are the Pros and the Cons for doing this?&lt;br /&gt;I want to be able to record shows on from my Cable TV and play them back and also watch regular DVD's.&lt;br /&gt;And since this is going to be an actual computer even play games on it.&lt;br /&gt;Also what would be some good hardware specs for a good computer like this.&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;</evnet:previewtext><dc:creator>ilya</dc:creator><slash:comments>2</slash:comments><wfw:commentRss>http://channel9.msdn.com/forums/Coffeehouse/150382-LCD-Monitor-vs-PlasmaLCD-TV/RSS/</wfw:commentRss><trackback:ping>http://channel9.msdn.com/150382/Trackback.aspx</trackback:ping></item><item><title>Event disposal [Event disposal]</title><description>&lt;p&gt;If I create a BaseObject and I declare some events inside of that object that people can subscribe to and then I call a dispose method, will this object be disposed? or do I have to unhook the events first and then the object will be disposed?&lt;br /&gt;&lt;br /&gt;If I have to dispose the events first what is the best way of unhooking the events from the BaseObject and make sure that all inheriting classes that have events will also unhook their events if they have custom events?&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;&lt;br /&gt;Ilya&lt;/p&gt;&lt;p&gt;in reply to &lt;a href='http://channel9.msdn.com/forums/TechOff/148255-Event-disposal/'&gt;Event disposal&lt;/a&gt;&lt;/p&gt;&lt;img src="http://channel9.msdn.com/148255/WebViewBug.aspx?EVT=0" height="1" width="1" alt="" /&gt;</description><comments>http://channel9.msdn.com/forums/TechOff/148255-Event-disposal/</comments><link>http://channel9.msdn.com/forums/TechOff/148255-Event-disposal/</link><pubDate>Thu, 05 Jan 2006 15:56:56 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/forums/TechOff/148255-Event-disposal/</guid><evnet:views>8329</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/148255/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>&lt;p&gt;If I create a BaseObject and I declare some events inside of that object that people can subscribe to and then I call a dispose method, will this object be disposed? or do I have to unhook the events first and then the object will be disposed?&lt;br /&gt;&lt;br /&gt;If I have to dispose the events first what is the best way of unhooking the events from the BaseObject and make sure that all inheriting classes that have events will also unhook their events if they have custom events?&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;&lt;br /&gt;Ilya&lt;/p&gt;</evnet:previewtext><dc:creator>ilya</dc:creator><slash:comments>17</slash:comments><wfw:commentRss>http://channel9.msdn.com/forums/TechOff/148255-Event-disposal/RSS/</wfw:commentRss><trackback:ping>http://channel9.msdn.com/148255/Trackback.aspx</trackback:ping></item><item><title>Generics + Indexers? [Generics + Indexers?]</title><description>I was just wondering if anyone knows if it's possible to have indexers in a collection that uses Generics and returns something from the collectionbase that internally holds objects.&lt;br /&gt;The problem that i am having is that when i try to return the object by doing base[index] I get a cast error since I can't cast an object to T&lt;br /&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;br /&gt;public class TestList&amp;lt;T&amp;gt;:CollectionBase&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;public T this[index]&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//this will&amp;nbsp;cause an error&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;get{return base[index]}&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//This will also cause an error since as keyword cannot be used&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;get{return base[index] as T;}&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;&lt;br /&gt;Ilya&lt;p&gt;in reply to &lt;a href='http://channel9.msdn.com/forums/TechOff/145698-Generics--Indexers/'&gt;Generics + Indexers?&lt;/a&gt;&lt;/p&gt;&lt;img src="http://channel9.msdn.com/145698/WebViewBug.aspx?EVT=0" height="1" width="1" alt="" /&gt;</description><comments>http://channel9.msdn.com/forums/TechOff/145698-Generics--Indexers/</comments><link>http://channel9.msdn.com/forums/TechOff/145698-Generics--Indexers/</link><pubDate>Tue, 27 Dec 2005 16:07:47 GMT</pubDate><guid isPermaLink="false">http://channel9.msdn.com/forums/TechOff/145698-Generics--Indexers/</guid><evnet:views>4141</evnet:views><evnet:viewtrackingurl>http://channel9.msdn.com/145698/WebViewBug.aspx?EVT=0</evnet:viewtrackingurl><evnet:previewtext>I was just wondering if anyone knows if it's possible to have indexers in a collection that uses Generics and returns something from the collectionbase that internally holds objects.&lt;br /&gt;The problem that i am having is that when i try to return the object by doing base[index] I get a cast error since I can't cast an object to T&lt;br /&gt;&lt;br /&gt;Example:&lt;br /&gt;&lt;br /&gt;public class TestList&amp;lt;T&amp;gt;:CollectionBase&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;public T this[index]&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//this will&amp;nbsp;cause an error&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;get{return base[index]}&lt;br /&gt;</evnet:previewtext><dc:creator>ilya</dc:creator><slash:comments>9</slash:comments><wfw:commentRss>http://channel9.msdn.com/forums/TechOff/145698-Generics--Indexers/RSS/</wfw:commentRss><trackback:ping>http://channel9.msdn.com/145698/Trackback.aspx</trackback:ping></item></channel></rss>