Click here to Skip to main content
15,506,846 members
Home / Discussions / C#
   

C#

 
AnswerRe: custom color on winform Pin
DaveyM6921-Sep-10 13:19
professionalDaveyM6921-Sep-10 13:19 
QuestionDebug: enable? Pin
albh0721-Sep-10 11:11
albh0721-Sep-10 11:11 
AnswerRe: Debug: enable? Pin
Chris Trelawny-Ross21-Sep-10 14:25
Chris Trelawny-Ross21-Sep-10 14:25 
QuestionHow do i refer to my own custom control, within the control? Pin
stephen.darling21-Sep-10 10:10
stephen.darling21-Sep-10 10:10 
AnswerRe: How do i refer to my own custom control, within the control? Pin
OriginalGriff21-Sep-10 10:29
mveOriginalGriff21-Sep-10 10:29 
GeneralRe: How do i refer to my own custom control, within the control? Pin
stephen.darling21-Sep-10 11:04
stephen.darling21-Sep-10 11:04 
GeneralRe: How do i refer to my own custom control, within the control? Pin
OriginalGriff21-Sep-10 22:44
mveOriginalGriff21-Sep-10 22:44 
QuestionDetermining the Data Type of a Generic Pin
kevinnicol21-Sep-10 7:59
kevinnicol21-Sep-10 7:59 
I have a class,

public class Collection<T>

and I was wondering if there was a way to determine if the data type used implements an interface.

I have used this code.
if (typeof(T) == typeof(ICollectable))
   variance = 1.2;


but it never gets into this if block, regardless if the class I use implements ICollectable.

Any ideas?
AnswerRe: Determining the Data Type of a Generic Pin
kevinnicol21-Sep-10 8:16
kevinnicol21-Sep-10 8:16 
AnswerRe: Determining the Data Type of a Generic Pin
Ian Shlasko21-Sep-10 8:16
Ian Shlasko21-Sep-10 8:16 
AnswerRe: Determining the Data Type of a Generic Pin
AspDotNetDev21-Sep-10 12:34
protectorAspDotNetDev21-Sep-10 12:34 
AnswerRe: Determining the Data Type of a Generic Pin
phil.o22-Sep-10 4:44
mvephil.o22-Sep-10 4:44 
QuestionHow to take data from USB-based device using C# ?? Pin
depressedguy21-Sep-10 7:51
depressedguy21-Sep-10 7:51 
AnswerRe: How to take data from USB-based device using C# ?? Pin
Richard Andrew x6421-Sep-10 16:53
professionalRichard Andrew x6421-Sep-10 16:53 
GeneralRe: How to take data from USB-based device using C# ?? Pin
depressedguy21-Sep-10 17:58
depressedguy21-Sep-10 17:58 
GeneralC# and Ring indicator Pin
MarkBng21-Sep-10 6:27
MarkBng21-Sep-10 6:27 
GeneralRe: C# and Ring indicator Pin
Luc Pattyn21-Sep-10 6:41
sitebuilderLuc Pattyn21-Sep-10 6:41 
QuestionUDP Packet Synchronization Pin
softwarejaeger21-Sep-10 4:42
softwarejaeger21-Sep-10 4:42 
AnswerRe: UDP Packet Synchronization Pin
Dave Kreskowiak21-Sep-10 7:41
mveDave Kreskowiak21-Sep-10 7:41 
Questionhow can i use diffrence neuron count in difference layer Pin
karayel_kara21-Sep-10 4:22
karayel_kara21-Sep-10 4:22 
AnswerRe: how can i use diffrence neuron count in difference layer Pin
Alan Balkany21-Sep-10 4:59
Alan Balkany21-Sep-10 4:59 
GeneralRe: how can i use diffrence neuron count in difference layer Pin
karayel_kara21-Sep-10 5:16
karayel_kara21-Sep-10 5:16 
GeneralRe: how can i use diffrence neuron count in difference layer Pin
Alan Balkany21-Sep-10 5:28
Alan Balkany21-Sep-10 5:28 
GeneralRe: how can i use diffrence neuron count in difference layer Pin
Alan Balkany21-Sep-10 5:32
Alan Balkany21-Sep-10 5:32 
AnswerRe: how can i use diffrence neuron count in difference layer Pin
Henry Minute21-Sep-10 5:31
Henry Minute21-Sep-10 5:31 

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.