Click here to Skip to main content
15,892,797 members
Home / Discussions / C#
   

C#

 
GeneralRe: Processes (up to 4) accessing to "serial.log" file handling (with pre-tags) Pin
Mycroft Holmes24-Aug-09 14:17
professionalMycroft Holmes24-Aug-09 14:17 
QuestionSetup & dependency error for officectrl.ocx Pin
NarVish24-Aug-09 6:53
NarVish24-Aug-09 6:53 
AnswerRe: Setup & dependency error for officectrl.ocx Pin
Saksida Bojan24-Aug-09 7:19
Saksida Bojan24-Aug-09 7:19 
GeneralRe: Setup & dependency error for officectrl.ocx Pin
NarVish24-Aug-09 7:24
NarVish24-Aug-09 7:24 
GeneralRe: Setup & dependency error for officectrl.ocx Pin
Saksida Bojan24-Aug-09 9:15
Saksida Bojan24-Aug-09 9:15 
QuestionCalling Form Buttonclick event from another file Pin
RS.Ratheesh24-Aug-09 6:41
RS.Ratheesh24-Aug-09 6:41 
AnswerRe: Calling Form Buttonclick event from another file Pin
Luc Pattyn24-Aug-09 6:52
sitebuilderLuc Pattyn24-Aug-09 6:52 
QuestionVirtual and Override problem Pin
bonzaiholding24-Aug-09 5:17
bonzaiholding24-Aug-09 5:17 
Hi,
if i have this code:
interface AInterface
{
 double GetNum{ get;}
}

public class A:AInterface
{
       int x;

         virtual public double GetNum{
           get
            {
                return x*10;
            }
           }

}

public class B:A ,AInterface
{
       int y;
        override public double GetNum{
           get
            {
                return y*base.GetNum;
            } 
}


The problem is that if i will write this code:
B b = new B();
b.x =2;
b.y=5;
print ( B.GetNum.ToString);

I Have a problem when B call base.GetNum because it calling to him self.
What can i do to solve this problem?

Thanks for all of your help.
GeneralRe: Virtual and Override problem Pin
harold aptroot24-Aug-09 5:22
harold aptroot24-Aug-09 5:22 
AnswerRe: Virtual and Override problem Pin
Luc Pattyn24-Aug-09 5:47
sitebuilderLuc Pattyn24-Aug-09 5:47 
Questionint x = new int() where this will be stored ?? Pin
jpk42024-Aug-09 4:28
jpk42024-Aug-09 4:28 
AnswerRe: int x = new int() where this will be stored ?? PinPopular
Luc Pattyn24-Aug-09 4:58
sitebuilderLuc Pattyn24-Aug-09 4:58 
GeneralRe: int x = new int() where this will be stored ?? Pin
Richard MacCutchan25-Aug-09 9:41
mveRichard MacCutchan25-Aug-09 9:41 
GeneralRe: int x = new int() where this will be stored ?? Pin
Luc Pattyn25-Aug-09 15:30
sitebuilderLuc Pattyn25-Aug-09 15:30 
GeneralRe: int x = new int() where this will be stored ?? Pin
Richard MacCutchan26-Aug-09 3:19
mveRichard MacCutchan26-Aug-09 3:19 
QuestionHow to embaded rss feeds in to html page which will be displayed in mozilla as well as IE browser Pin
biswa4724-Aug-09 3:52
biswa4724-Aug-09 3:52 
AnswerRe: How to embaded rss feeds in to html page which will be displayed in mozilla as well as IE browser Pin
Nagy Vilmos24-Aug-09 4:35
professionalNagy Vilmos24-Aug-09 4:35 
Questionemgucv face detection Count Pin
ChangSiJie24-Aug-09 3:28
ChangSiJie24-Aug-09 3:28 
AnswerRe: emgucv face detection Count PinPopular
Henry Minute24-Aug-09 3:40
Henry Minute24-Aug-09 3:40 
AnswerRe: emgucv face detection Count Pin
sheahpar8-Feb-10 6:17
sheahpar8-Feb-10 6:17 
QuestionConvert SQL data to XML data using nHibernate Pin
DJ24524-Aug-09 2:56
DJ24524-Aug-09 2:56 
AnswerRe: Convert SQL data to XML data using nHibernate Pin
Henry Minute24-Aug-09 3:25
Henry Minute24-Aug-09 3:25 
QuestionExcel + C# Pin
GrgBalden24-Aug-09 2:16
GrgBalden24-Aug-09 2:16 
QuestionWorkbookEvents_SheetChangeEventHandler excel delegate Pin
NarVish24-Aug-09 2:16
NarVish24-Aug-09 2:16 
QuestionCollection properties should be readonly. Pin
deep724-Aug-09 1:47
deep724-Aug-09 1:47 

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.