Click here to Skip to main content
15,898,588 members
Home / Discussions / C#
   

C#

 
Questiontracking mouse position Pin
Vivek Vijayan10-Jul-09 20:04
Vivek Vijayan10-Jul-09 20:04 
AnswerRe: tracking mouse position Pin
dan!sh 10-Jul-09 20:13
professional dan!sh 10-Jul-09 20:13 
GeneralRe: tracking mouse position Pin
Vivek Vijayan10-Jul-09 20:22
Vivek Vijayan10-Jul-09 20:22 
GeneralRe: tracking mouse position Pin
dan!sh 10-Jul-09 20:26
professional dan!sh 10-Jul-09 20:26 
GeneralRe: tracking mouse position Pin
Vivek Vijayan10-Jul-09 20:39
Vivek Vijayan10-Jul-09 20:39 
GeneralRe: tracking mouse position Pin
dan!sh 10-Jul-09 20:45
professional dan!sh 10-Jul-09 20:45 
AnswerRe: tracking mouse position Pin
Rajesh R Subramanian10-Jul-09 22:21
professionalRajesh R Subramanian10-Jul-09 22:21 
GeneralRe: tracking mouse position Pin
Nish Nishant11-Jul-09 3:03
sitebuilderNish Nishant11-Jul-09 3:03 
GeneralRe: tracking mouse position Pin
Rajesh R Subramanian11-Jul-09 3:13
professionalRajesh R Subramanian11-Jul-09 3:13 
GeneralRe: tracking mouse position Pin
Nish Nishant11-Jul-09 3:15
sitebuilderNish Nishant11-Jul-09 3:15 
Questionthread not started Pin
Vivek Vijayan10-Jul-09 20:03
Vivek Vijayan10-Jul-09 20:03 
AnswerRe: thread not started Pin
dan!sh 10-Jul-09 20:24
professional dan!sh 10-Jul-09 20:24 
QuestionAAARGGHH - need example of building a multi-column list in memory unknown # of rows Pin
Robert Bone10-Jul-09 19:40
Robert Bone10-Jul-09 19:40 
AnswerRe: AAARGGHH - need example of building a multi-column list in memory unknown # of rows Pin
dan!sh 10-Jul-09 20:37
professional dan!sh 10-Jul-09 20:37 
Question<> command ? Pin
Ali Jahan10-Jul-09 19:20
Ali Jahan10-Jul-09 19:20 
AnswerRe: <> command ? [modified] Pin
OriginalGriff10-Jul-09 21:51
mveOriginalGriff10-Jul-09 21:51 
First off, two bits to make it easier on us all.
1) Use the "code block" button above, even for small examples.
2) Just above the "Post Messaeg" button is a box marked "Encode HTML tags when pasting" this means that < and > are displayed corretly, with any contents.

So, I assume what you meant was:
What's does the <T> mean in a List<T>?


A old fashioned List can hold any type of object, so you could use:
List list = new List();
list.Add(new TextBox());
list.Add(123);
list.Add("Hello");

without complaint, if you meant to or not.
When you came to use list though, you would have to check what type of object you had, or a run time error would occur.
Newer versions are type safe - you can only include the declared type:
List<TextBox> list = new List<TextBox>();
list.Add(new TextBox());
list.Add(123);
list.Add("Hello");

would give compiler errors for the integer and string.

No trees were harmed in the sending of this message; however, a significant number of electrons were slightly inconvenienced.

This message is made of fully recyclable Zeros and Ones

modified on Saturday, July 11, 2009 5:20 AM

QuestionLINQ, XML to tree class Pin
VickyC#10-Jul-09 19:09
VickyC#10-Jul-09 19:09 
AnswerRe: LINQ, XML to tree class Pin
VickyC#10-Jul-09 21:21
VickyC#10-Jul-09 21:21 
QuestionHow to globally suppress mouse click Pin
GeeBru10-Jul-09 12:14
GeeBru10-Jul-09 12:14 
AnswerRe: How to globally suppress mouse click Pin
Not Active10-Jul-09 13:08
mentorNot Active10-Jul-09 13:08 
GeneralRe: How to globally suppress mouse click Pin
GeeBru10-Jul-09 13:13
GeeBru10-Jul-09 13:13 
GeneralRe: How to globally suppress mouse click Pin
Not Active10-Jul-09 13:20
mentorNot Active10-Jul-09 13:20 
GeneralRe: How to globally suppress mouse click Pin
GeeBru10-Jul-09 13:23
GeeBru10-Jul-09 13:23 
Questionworking with dates and database Pin
elidotnet10-Jul-09 12:00
elidotnet10-Jul-09 12:00 
AnswerRe: working with dates and database Pin
Not Active10-Jul-09 13:18
mentorNot Active10-Jul-09 13:18 

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.