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

C#

 
GeneralRe: ushort* to IntPtr conversion Pin
Luc Pattyn21-Oct-09 3:51
sitebuilderLuc Pattyn21-Oct-09 3:51 
QuestionPassing List to form and back... Help plz. Pin
JollyMansArt20-Oct-09 12:24
JollyMansArt20-Oct-09 12:24 
QuestionRe: Passing List to form and back... Help plz. Pin
JollyMansArt20-Oct-09 12:29
JollyMansArt20-Oct-09 12:29 
AnswerRe: Passing List to form and back... Help plz. Pin
Christian Graus20-Oct-09 13:01
protectorChristian Graus20-Oct-09 13:01 
QuestionRe: Passing List to form and back... Help plz. [modified] Pin
JollyMansArt20-Oct-09 13:07
JollyMansArt20-Oct-09 13:07 
AnswerRe: Passing List to form and back... Help plz. Pin
Christian Graus20-Oct-09 13:24
protectorChristian Graus20-Oct-09 13:24 
GeneralRe: Passing List to form and back... Help plz. Pin
JollyMansArt20-Oct-09 13:38
JollyMansArt20-Oct-09 13:38 
AnswerRe: Passing List to form and back... Help plz. Pin
Luc Pattyn20-Oct-09 14:03
sitebuilderLuc Pattyn20-Oct-09 14:03 
Hi,

I assume this is about System.Net.Mail.MailMessage, which has three properties (To, Cc, Bcc) of type MailAddressCollection.

you can pass such lists just like any other object, and it does not need a ref keyword; and the receiving method can enumerate, add, remove, and perform all operations that the list supports. The one thing you cannot do is replace the list by a different list (that is the only operation that would require you to use the ref keyword).

Smile | :)

Luc Pattyn

I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages

Local announcement (Antwerp region): Lange Wapper? 59.24% waren verstandig genoeg om NEEN te stemmen; bye bye viaduct.


GeneralRe: Passing List to form and back... Help plz. Pin
JollyMansArt20-Oct-09 14:14
JollyMansArt20-Oct-09 14:14 
QuestionRe: Passing List to form and back... Help plz. [modified] Pin
JollyMansArt20-Oct-09 14:19
JollyMansArt20-Oct-09 14:19 
QuestionRe: Passing List to form and back... Help plz. Pin
JollyMansArt20-Oct-09 14:23
JollyMansArt20-Oct-09 14:23 
QuestionRe: Passing List to form and back... Help plz. Pin
JollyMansArt20-Oct-09 14:20
JollyMansArt20-Oct-09 14:20 
AnswerRe: Passing List to form and back... Help plz. Pin
JollyMansArt20-Oct-09 14:42
JollyMansArt20-Oct-09 14:42 
GeneralRe: Passing List to form and back... Help plz. Pin
Luc Pattyn20-Oct-09 14:32
sitebuilderLuc Pattyn20-Oct-09 14:32 
GeneralRe: Passing List to form and back... Help plz. Pin
JollyMansArt20-Oct-09 14:46
JollyMansArt20-Oct-09 14:46 
GeneralRe: Passing List to form and back... Help plz. Pin
Luc Pattyn20-Oct-09 15:10
sitebuilderLuc Pattyn20-Oct-09 15:10 
Questionhow to make line after 2 rows in crystal report ? Pin
E_Gold20-Oct-09 10:16
E_Gold20-Oct-09 10:16 
AnswerRe: how to make line after 2 rows in crystal report ? [modified] Pin
Arun Kallingal21-Oct-09 20:18
Arun Kallingal21-Oct-09 20:18 
GeneralRe: how to make line after 2 rows in crystal report ? Pin
Arun Kallingal22-Oct-09 1:24
Arun Kallingal22-Oct-09 1:24 
QuestionHow get informed about incoming network connections in C#? Pin
Wild Max20-Oct-09 8:56
Wild Max20-Oct-09 8:56 
AnswerRe: How get informed about incoming network connections in C#? Pin
Eddy Vluggen20-Oct-09 10:52
professionalEddy Vluggen20-Oct-09 10:52 
QuestionCan I return a string if I use "using (StreamReader sw = new StreamReader(new FileStream("out1.xml", FileMode.Open)))" Pin
sheateng20-Oct-09 8:41
sheateng20-Oct-09 8:41 
AnswerRe: Can I return a string if I use "using (StreamReader sw = new StreamReader(new FileStream("out1.xml", FileMode.Open)))" Pin
Gideon Engelberth20-Oct-09 9:01
Gideon Engelberth20-Oct-09 9:01 
QuestionHow to pass values to crystal report field ? Pin
hdv21220-Oct-09 8:09
hdv21220-Oct-09 8:09 
QuestionGet SelectedValue DataGridViewComboBox Column Pin
AmirReza Mashalian20-Oct-09 8:01
AmirReza Mashalian20-Oct-09 8:01 

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.