Click here to Skip to main content
15,885,278 members
Home / Discussions / C#
   

C#

 
GeneralRe: how to take integer input in c# Pin
Yuwraj20-Jan-06 1:29
Yuwraj20-Jan-06 1:29 
GeneralRe: how to take integer input in c# Pin
Colin Angus Mackay20-Jan-06 1:48
Colin Angus Mackay20-Jan-06 1:48 
AnswerRe: how to take integer input in c# Pin
CodyGen20-Jan-06 10:23
CodyGen20-Jan-06 10:23 
QuestionRegarding Browser Pin
A.Grover20-Jan-06 0:27
A.Grover20-Jan-06 0:27 
QuestionMethod argument Pin
Cannoneer20-Jan-06 0:05
Cannoneer20-Jan-06 0:05 
AnswerRe: Method argument Pin
Divyang Mithaiwala20-Jan-06 1:35
Divyang Mithaiwala20-Jan-06 1:35 
GeneralRe: Method argument Pin
Cannoneer20-Jan-06 2:32
Cannoneer20-Jan-06 2:32 
AnswerRe: Method argument Pin
Le centriste20-Jan-06 1:36
Le centriste20-Jan-06 1:36 
Use a delegate:

class A
{
    public delegate void SomeDelegate();

    public void MethodWithDelegateParam(SomeDelegate del)
    {
        del();
    }
}


and in client code:

class B
{
    public void MyMethod()
    {
        DoSomething();
    }

    public static void Main()
    {
        B b = new B();
        A a = new A();

        a.MethodWithDelegateParam(new A.SomeDelegate(b.MyMethod));
    }
}


[^] For more information.

--------

"I say no to drugs, but they don't listen."
- Marilyn Manson
GeneralRe: Method argument Pin
Cannoneer20-Jan-06 2:33
Cannoneer20-Jan-06 2:33 
Questionhow to create multitabbed browser Pin
sachu_vidya19-Jan-06 23:16
sachu_vidya19-Jan-06 23:16 
AnswerRe: how to create multitabbed browser Pin
Le centriste20-Jan-06 2:39
Le centriste20-Jan-06 2:39 
GeneralRe: how to create multitabbed browser Pin
sachu_vidya26-Jan-06 0:24
sachu_vidya26-Jan-06 0:24 
Questionerror CS0246: The type or namespace name 'DescriptionAttribute' could not be found (are you missing a using directive or an assembly reference?) Pin
Soundman32.219-Jan-06 22:22
Soundman32.219-Jan-06 22:22 
AnswerRe: error CS0246: The type or namespace name 'DescriptionAttribute' could not be found (are you missing a using directive or an assembly reference?) Pin
Guffa19-Jan-06 22:29
Guffa19-Jan-06 22:29 
Question.PDF 2 .EMF (Enhanced Meta File) Pin
NewbieDude19-Jan-06 21:19
NewbieDude19-Jan-06 21:19 
Questionbuiding an installing application Pin
Fendefa19-Jan-06 21:07
Fendefa19-Jan-06 21:07 
AnswerRe: buiding an installing application Pin
Dave Kreskowiak20-Jan-06 4:47
mveDave Kreskowiak20-Jan-06 4:47 
GeneralRe: buiding an installing application Pin
Fendefa22-Jan-06 20:44
Fendefa22-Jan-06 20:44 
GeneralRe: buiding an installing application Pin
Dave Kreskowiak23-Jan-06 1:55
mveDave Kreskowiak23-Jan-06 1:55 
GeneralRe: buiding an installing application Pin
Fendefa23-Jan-06 2:52
Fendefa23-Jan-06 2:52 
QuestionBinding an Xml file with a DropDown Control, URGENT!!!! Pin
ajmal419-Jan-06 20:25
ajmal419-Jan-06 20:25 
QuestionAdd a User Control to a TreeView Pin
tyours bobby19-Jan-06 20:07
tyours bobby19-Jan-06 20:07 
QuestionHow to use labels to pring class data Pin
Albert8319-Jan-06 19:51
Albert8319-Jan-06 19:51 
AnswerRe: How to use labels to pring class data Pin
mav.northwind19-Jan-06 23:44
mav.northwind19-Jan-06 23:44 
GeneralRe: How to use labels to pring class data Pin
Albert8322-Jan-06 18:34
Albert8322-Jan-06 18:34 

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.