This is a discussion on Is it possible to override a method in Partial class ? within the ASP and ASP.NET Programming forums, part of the Web Development category; Hi, I want to create two methods with same name and parameters in a partial class. Can anyone tell me ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| Hi, I want to create two methods with same name and parameters in a partial class. Can anyone tell me is it possible to override a method in partial class without using inheritance. Thanks
__________________ The OXYGEN Delivers edgy, intelligent Technology to all... |
| Sponsored Links |
| |||
| hi..oxy.. For override a method in partial class is not possible as of my knowledge.. only it is possible while using inheritance.... it is possible to overide a method, when we use more than one class. we can't do that in partial class. becz, partial class also a single class. partial class: partial classes mean that your class definition can be split into multiple physical files, all the physical files consider as signle class. |
| |||
| Great explanation wily... Hi oxygen, May i know why you need to override a method in a partial class?
__________________ $enthil Last edited by $enthil : 02-08-2008 at 02:49 AM. |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| shadow and override | sivakumar | C# Programming | 2 | 08-17-2007 05:58 AM |
| Difference between New and Override keywords | raja | C# Programming | 2 | 08-17-2007 04:52 AM |
| Shadow and override | vigneshgets | C# Programming | 2 | 08-16-2007 10:36 PM |
| Is there any way to use keyPressed method of Canvas class in Form class? | bluesky | Mobile Software Development | 1 | 07-25-2007 06:02 AM |
| What is super class sub class in error? | santoshmalvi | Software Testing | 1 | 04-16-2007 01:20 AM |