Click here to Skip to main content
15,890,512 members
Home / Discussions / C#
   

C#

 
AnswerRe: DataGridView how to... A little help here guys Pin
kubben2-Oct-07 2:53
kubben2-Oct-07 2:53 
AnswerRe: DataGridView how to... A little help here guys Pin
Andrei Ungureanu2-Oct-07 3:14
Andrei Ungureanu2-Oct-07 3:14 
GeneralRe: DataGridView how to... A little help here guys Pin
jcasti12262-Oct-07 13:31
jcasti12262-Oct-07 13:31 
QuestionImplying method return type Pin
eggie51-Oct-07 17:47
eggie51-Oct-07 17:47 
AnswerRe: Implying method return type Pin
Christian Graus1-Oct-07 17:52
protectorChristian Graus1-Oct-07 17:52 
GeneralRe: Implying method return type Pin
eggie51-Oct-07 18:13
eggie51-Oct-07 18:13 
GeneralRe: Implying method return type Pin
TJoe1-Oct-07 18:41
TJoe1-Oct-07 18:41 
GeneralRe: Implying method return type [modified] Pin
eggie51-Oct-07 19:07
eggie51-Oct-07 19:07 
Thanks. I think I'm going to head in a different direction with this...

Now, is this the right use of generics?

Category has a static string endpoint_url. I would like to get that from T1 in the Create method.

Create<Category>();
   .
   .
   .

    public Response Create<T1>()
    {
        string url=//How can I get Category.endpoint_url here?
    }

    public class Category
    {
        public static string endpoint_url = "/categories";
        public int id;
        public string name;
        public int content_provider_id;

    } 





-- modified at 1:50 Tuesday 2nd October, 2007

/\ |_ E X E GG

GeneralRe: Implying method return type Pin
TJoe1-Oct-07 19:35
TJoe1-Oct-07 19:35 
GeneralRe: Implying method return type Pin
eggie51-Oct-07 19:42
eggie51-Oct-07 19:42 
AnswerRe: Implying method return type Pin
TJoe1-Oct-07 20:00
TJoe1-Oct-07 20:00 
GeneralRe: Implying method return type Pin
eggie51-Oct-07 20:10
eggie51-Oct-07 20:10 
GeneralRe: Implying method return type Pin
eggie51-Oct-07 20:57
eggie51-Oct-07 20:57 
GeneralRe: Implying method return type Pin
Pete O'Hanlon1-Oct-07 22:49
mvePete O'Hanlon1-Oct-07 22:49 
GeneralRe: Implying method return type Pin
DavidNohejl1-Oct-07 22:51
DavidNohejl1-Oct-07 22:51 
GeneralRe: Implying method return type Pin
TJoe2-Oct-07 3:17
TJoe2-Oct-07 3:17 
GeneralRe: Implying method return type Pin
TJoe1-Oct-07 19:39
TJoe1-Oct-07 19:39 
GeneralRe: Implying method return type Pin
eggie51-Oct-07 19:51
eggie51-Oct-07 19:51 
AnswerRe: Implying method return type Pin
Pete O'Hanlon1-Oct-07 22:58
mvePete O'Hanlon1-Oct-07 22:58 
GeneralRe: Implying method return type Pin
eggie52-Oct-07 7:04
eggie52-Oct-07 7:04 
GeneralRe: Implying method return type Pin
Pete O'Hanlon2-Oct-07 9:51
mvePete O'Hanlon2-Oct-07 9:51 
QuestionCrysta report help Pin
bttds1-Oct-07 17:19
bttds1-Oct-07 17:19 
QuestionSNMP Help required Pin
Muhammad Nauman Yousuf1-Oct-07 15:38
Muhammad Nauman Yousuf1-Oct-07 15:38 
Questionprocess wont start.... Pin
kb1ibh1-Oct-07 14:26
kb1ibh1-Oct-07 14:26 
AnswerRe: process wont start.... Pin
PIEBALDconsult1-Oct-07 14:29
mvePIEBALDconsult1-Oct-07 14:29 

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.