Click here to Skip to main content
16,008,490 members
Home / Discussions / C#
   

C#

 
GeneralRe: XML or database...? Pin
Colin Angus Mackay10-Dec-07 22:20
Colin Angus Mackay10-Dec-07 22:20 
GeneralRe: XML or database...? Pin
darkelv11-Dec-07 0:30
darkelv11-Dec-07 0:30 
GeneralRe: XML or database...? Pin
Colin Angus Mackay11-Dec-07 1:50
Colin Angus Mackay11-Dec-07 1:50 
AnswerRe: XML or database...? Pin
Colin Angus Mackay10-Dec-07 22:28
Colin Angus Mackay10-Dec-07 22:28 
GeneralRe: XML or database...? Pin
anandakumarm10-Dec-07 23:02
anandakumarm10-Dec-07 23:02 
GeneralRe: XML or database...? Pin
Colin Angus Mackay10-Dec-07 23:32
Colin Angus Mackay10-Dec-07 23:32 
QuestionUnlock windws user Pin
pprabhu10-Dec-07 19:19
pprabhu10-Dec-07 19:19 
QuestionHow to Override internal abstract method? Pin
Mukesh Choudhari10-Dec-07 18:55
Mukesh Choudhari10-Dec-07 18:55 
I had a abstract base class :

namespace ConsoleApplication1
{
public abstract class AbstractClass
{
abstract protected void TestFunction();
abstract internal void TestFunction2();
}
}

Now, I wanted to inherit this class as :

namespace ConsoleApplication2
{
class Client:AbstractClass
{
public Client()
{ }
protected override void TestFunction()
{}
}
}

As the namespace for the above classes are different, we can access the "abstract protected void TestFunction();" in the derived class. But we cannot access and override "abstract internal void TestFunction2();".
Because of this I am getting a compile time error.

How to deal with this problem? Since I want the internal method as it is and still want to compile the application.
GeneralRe: How to Override internal abstract method? Pin
N a v a n e e t h10-Dec-07 19:48
N a v a n e e t h10-Dec-07 19:48 
GeneralRe: How to Override internal abstract method? Pin
Mukesh Choudhari10-Dec-07 21:35
Mukesh Choudhari10-Dec-07 21:35 
GeneralRe: How to Override internal abstract method? Pin
N a v a n e e t h10-Dec-07 22:18
N a v a n e e t h10-Dec-07 22:18 
GeneralRe: How to Override internal abstract method? Pin
Colin Angus Mackay10-Dec-07 22:33
Colin Angus Mackay10-Dec-07 22:33 
GeneralRe: How to Override internal abstract method? Pin
N a v a n e e t h10-Dec-07 22:58
N a v a n e e t h10-Dec-07 22:58 
GeneralRe: How to Override internal abstract method? Pin
Colin Angus Mackay10-Dec-07 22:30
Colin Angus Mackay10-Dec-07 22:30 
GeneralRe: How to Override internal abstract method? Pin
m@u10-Dec-07 22:58
m@u10-Dec-07 22:58 
GeneralRe: How to Override internal abstract method? Pin
N a v a n e e t h10-Dec-07 23:01
N a v a n e e t h10-Dec-07 23:01 
GeneralRe: How to Override internal abstract method? Pin
m@u10-Dec-07 23:11
m@u10-Dec-07 23:11 
GeneralRe: How to Override internal abstract method? Pin
N a v a n e e t h10-Dec-07 23:17
N a v a n e e t h10-Dec-07 23:17 
GeneralRe: How to Override internal abstract method? Pin
m@u10-Dec-07 23:23
m@u10-Dec-07 23:23 
GeneralBeginner in C# Pin
tasumisra10-Dec-07 18:25
tasumisra10-Dec-07 18:25 
GeneralRe: Beginner in C# Pin
Michael Sync10-Dec-07 18:54
Michael Sync10-Dec-07 18:54 
GeneralRe: Beginner in C# Pin
Abhijit Jana10-Dec-07 19:08
professionalAbhijit Jana10-Dec-07 19:08 
GeneralRe: Beginner in C# Pin
tasumisra10-Dec-07 19:21
tasumisra10-Dec-07 19:21 
GeneralRe: Beginner in C# Pin
N a v a n e e t h10-Dec-07 19:45
N a v a n e e t h10-Dec-07 19:45 
GeneralRe: Beginner in C# Pin
tasumisra10-Dec-07 19:52
tasumisra10-Dec-07 19:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.