Click here to Skip to main content
15,886,873 members
Home / Discussions / C#
   

C#

 
AnswerRe: Express Edition OR Professional Edition Pin
Christian Graus17-Aug-06 0:33
protectorChristian Graus17-Aug-06 0:33 
AnswerRe: Express Edition OR Professional Edition Pin
Nader Elshehabi17-Aug-06 1:17
Nader Elshehabi17-Aug-06 1:17 
AnswerRe: Express Edition OR Professional Edition Pin
User 665817-Aug-06 1:48
User 665817-Aug-06 1:48 
QuestionGetting all public folders in Exchange through AD or WMI Pin
killazzz16-Aug-06 23:57
killazzz16-Aug-06 23:57 
Questionhelp me Pin
sarojkumarjena16-Aug-06 23:51
sarojkumarjena16-Aug-06 23:51 
AnswerRe: help me [modified] Pin
coolestCoder17-Aug-06 0:00
coolestCoder17-Aug-06 0:00 
QuestionSubscribing to monitor wake-up Pin
royk12316-Aug-06 23:38
royk12316-Aug-06 23:38 
QuestionXmlDataSource vs DataSource Pin
Malcolm Smart16-Aug-06 23:37
Malcolm Smart16-Aug-06 23:37 
AnswerRe: XmlDataSource vs DataSource Pin
hamidreza_buddy17-Aug-06 1:07
hamidreza_buddy17-Aug-06 1:07 
AnswerRe: XmlDataSource vs DataSource Pin
Malcolm Smart17-Aug-06 1:39
Malcolm Smart17-Aug-06 1:39 
QuestionSystem.Net.WebException Pin
Will Manning16-Aug-06 23:16
Will Manning16-Aug-06 23:16 
QuestionConnect to internt using C# Pin
Mridang Agarwalla16-Aug-06 23:16
Mridang Agarwalla16-Aug-06 23:16 
AnswerRe: Connect to internt using C# Pin
Nader Elshehabi17-Aug-06 1:44
Nader Elshehabi17-Aug-06 1:44 
QuestionGenerics: T x = 5 fails [modified] Pin
Tomerland16-Aug-06 22:57
Tomerland16-Aug-06 22:57 
AnswerRe: Generics: T x = 5 fails Pin
Christian Graus16-Aug-06 23:05
protectorChristian Graus16-Aug-06 23:05 
GeneralRe: Generics: T x = 5 fails Pin
Tomerland17-Aug-06 0:30
Tomerland17-Aug-06 0:30 
GeneralRe: Generics: T x = 5 fails Pin
Christian Graus17-Aug-06 0:37
protectorChristian Graus17-Aug-06 0:37 
GeneralRe: Generics: T x = 5 fails [modified] Pin
Tomerland17-Aug-06 1:27
Tomerland17-Aug-06 1:27 
GeneralRe: Generics: T x = 5 fails Pin
Christian Graus17-Aug-06 1:40
protectorChristian Graus17-Aug-06 1:40 
GeneralRe: Generics: T x = 5 fails Pin
Nader Elshehabi17-Aug-06 2:07
Nader Elshehabi17-Aug-06 2:07 
Hello

Christian Graus wrote:
It looks to me like it's not possible


I believe it is. This method should only work with int and double types only

private void CreateMethod<T>() where T : IComparable<int> , IComparable<double>, new()
        {
            T instance = new T();
            MessageBox.Show(instance.ToString());
        }


RegardsRose | [Rose]
GeneralRe: Generics: T x = 5 fails Pin
Christian Graus17-Aug-06 2:15
protectorChristian Graus17-Aug-06 2:15 
GeneralRe: Generics: T x = 5 fails [modified] Pin
Nader Elshehabi17-Aug-06 2:39
Nader Elshehabi17-Aug-06 2:39 
GeneralRe: Generics: T x = 5 fails Pin
Christian Graus17-Aug-06 2:47
protectorChristian Graus17-Aug-06 2:47 
GeneralRe: Generics: T x = 5 fails Pin
eggsovereasy17-Aug-06 4:02
eggsovereasy17-Aug-06 4:02 
QuestionEnterprise deployment console Pin
abhinish16-Aug-06 22:39
abhinish16-Aug-06 22:39 

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.