Click here to Skip to main content
15,898,134 members
Home / Discussions / C#
   

C#

 
AnswerRe: dynamic control (c# ASP.net) Pin
Chintan.Desai28-Jun-07 1:03
Chintan.Desai28-Jun-07 1:03 
QuestionDeploying the addin Pin
Ram Krishna Wagle27-Jun-07 20:27
Ram Krishna Wagle27-Jun-07 20:27 
QuestionProblem with using the CollectionEditor class for user control in C#. Pin
Biju VA27-Jun-07 20:08
professionalBiju VA27-Jun-07 20:08 
QuestionPreventing method access in derived class. Pin
Diana Fernandez27-Jun-07 19:17
Diana Fernandez27-Jun-07 19:17 
AnswerRe: Preventing method access in derived class. Pin
Christian Graus27-Jun-07 19:34
protectorChristian Graus27-Jun-07 19:34 
AnswerRe: Preventing method access in derived class. Pin
stancrm27-Jun-07 19:34
stancrm27-Jun-07 19:34 
AnswerRe: Preventing method access in derived class. Pin
Sathesh Sakthivel27-Jun-07 20:05
Sathesh Sakthivel27-Jun-07 20:05 
AnswerRe: Preventing method access in derived class. Pin
Diana Fernandez27-Jun-07 20:09
Diana Fernandez27-Jun-07 20:09 
Consider the scenario given below

public class Base
{
protected string _name = null;

public void SetName(string Name)
{
_name = Name;
}
}

public class Derived : Base
{
public void SetName(string Name, bool Condition)
{
if (Condition)
_name = Name + "true";
else
_name = Name + "false";
}
}

How is it possible to prevent accessing the Base class method on the object of derived class? Because base class implementation should not be used on the object of derived class.
GeneralRe: Preventing method access in derived class. Pin
Martin#27-Jun-07 20:19
Martin#27-Jun-07 20:19 
GeneralRe: Preventing method access in derived class. Pin
Christian Graus27-Jun-07 20:34
protectorChristian Graus27-Jun-07 20:34 
GeneralRe: Preventing method access in derived class. Pin
Martin#27-Jun-07 20:38
Martin#27-Jun-07 20:38 
GeneralRe: Preventing method access in derived class. Pin
Christian Graus27-Jun-07 20:36
protectorChristian Graus27-Jun-07 20:36 
GeneralRe: Preventing method access in derived class. Pin
Urs Enzler27-Jun-07 22:39
Urs Enzler27-Jun-07 22:39 
QuestionHow to implement an aspect factory Pin
rameshbhojan27-Jun-07 19:10
rameshbhojan27-Jun-07 19:10 
AnswerRe: How to implement an aspect factory Pin
Christian Graus27-Jun-07 19:36
protectorChristian Graus27-Jun-07 19:36 
AnswerRe: How to implement an aspect factory Pin
Sathesh Sakthivel27-Jun-07 20:06
Sathesh Sakthivel27-Jun-07 20:06 
QuestionTimer+web form Pin
razanabanu27-Jun-07 18:44
razanabanu27-Jun-07 18:44 
AnswerRe: Timer+web form Pin
Christian Graus27-Jun-07 19:37
protectorChristian Graus27-Jun-07 19:37 
AnswerRe: Timer+web form Pin
Sathesh Sakthivel27-Jun-07 20:12
Sathesh Sakthivel27-Jun-07 20:12 
GeneralRe: Timer+web form Pin
razanabanu27-Jun-07 20:36
razanabanu27-Jun-07 20:36 
GeneralRe: Timer+web form Pin
Sathesh Sakthivel27-Jun-07 20:59
Sathesh Sakthivel27-Jun-07 20:59 
AnswerRe: Timer+web form Pin
Tamimi - Code27-Jun-07 20:38
Tamimi - Code27-Jun-07 20:38 
QuestionShowing button for property value selction in property pan Pin
KrunalC27-Jun-07 17:44
KrunalC27-Jun-07 17:44 
AnswerRe: Showing button for property value selction in property pan Pin
KrunalC27-Jun-07 21:03
KrunalC27-Jun-07 21:03 
Questionhelp debug the ping program please Pin
neodeaths27-Jun-07 17:20
neodeaths27-Jun-07 17:20 

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.