Click here to Skip to main content
15,899,026 members
Home / Discussions / C#
   

C#

 
QuestionGetting list view item information Pin
Hampus@foi21-Sep-06 3:27
Hampus@foi21-Sep-06 3:27 
AnswerRe: Getting list view item information Pin
Ed.Poore21-Sep-06 4:09
Ed.Poore21-Sep-06 4:09 
QuestionInteraction with a C# program Pin
Lapius21-Sep-06 3:17
Lapius21-Sep-06 3:17 
AnswerRe: Interaction with a C# program Pin
Ed.Poore21-Sep-06 4:08
Ed.Poore21-Sep-06 4:08 
AnswerRe: Interaction with a C# program Pin
Andrei Ungureanu21-Sep-06 5:02
Andrei Ungureanu21-Sep-06 5:02 
AnswerRe: Interaction with a C# program Pin
Jun Du21-Sep-06 5:26
Jun Du21-Sep-06 5:26 
Questionreturning more than 1 value from a function Pin
saqib8221-Sep-06 3:09
saqib8221-Sep-06 3:09 
AnswerRe: returning more than 1 value from a function Pin
mikone21-Sep-06 3:13
mikone21-Sep-06 3:13 
this depends on what exactly you want to return.
if you want to return variables of different datatypes, you could return an objectarray. this could look like

<br />
object[] dummymethod()<br />
{<br />
object [] returnarray = new object[3];<br />
returnarray[0] = "somestringval";<br />
returnarray[1] = 23112321;<br />
returnarray[2] = new System.Windows.Forms.Form();<br />
<br />
return returnarray;<br />
}<br />


this way you would return three different values. to use them in other function you would have to do explicit casts...


// edit: argh forgot a semicolon...
GeneralRe: returning more than 1 value from a function Pin
saqib8221-Sep-06 20:42
saqib8221-Sep-06 20:42 
AnswerRe: returning more than 1 value from a function Pin
Martin#21-Sep-06 3:46
Martin#21-Sep-06 3:46 
AnswerRe: returning more than 1 value from a function Pin
User 665821-Sep-06 4:31
User 665821-Sep-06 4:31 
QuestionDoes any one know how to control the wndows sound volume in my application...? Pin
Kariem Soudy21-Sep-06 2:39
Kariem Soudy21-Sep-06 2:39 
AnswerRe: Does any one know how to control the wndows sound volume in my application...? Pin
mav.northwind22-Sep-06 0:26
mav.northwind22-Sep-06 0:26 
Questionwhat is @"\\.\root\CIMV2" Pin
Mahmood Ilyas21-Sep-06 2:17
Mahmood Ilyas21-Sep-06 2:17 
AnswerRe: what is @"\\.\root\CIMV2" Pin
mikone21-Sep-06 2:19
mikone21-Sep-06 2:19 
GeneralRe: what is @"\\.\root\CIMV2" Pin
Mahmood Ilyas21-Sep-06 2:23
Mahmood Ilyas21-Sep-06 2:23 
AnswerRe: what is @"\\.\root\CIMV2" Pin
Dave Kreskowiak21-Sep-06 6:08
mveDave Kreskowiak21-Sep-06 6:08 
QuestionHow to add icon in listview control Pin
Gopal Hatekar21-Sep-06 2:13
Gopal Hatekar21-Sep-06 2:13 
AnswerRe: How to add icon in listview control Pin
Ed.Poore21-Sep-06 4:15
Ed.Poore21-Sep-06 4:15 
Questionas Pin
Brendan Vogt21-Sep-06 2:12
Brendan Vogt21-Sep-06 2:12 
AnswerRe: as Pin
rah_sin21-Sep-06 2:17
professionalrah_sin21-Sep-06 2:17 
AnswerRe: as Pin
Ed.Poore21-Sep-06 4:13
Ed.Poore21-Sep-06 4:13 
GeneralRe: as Pin
Insincere Dave21-Sep-06 4:53
Insincere Dave21-Sep-06 4:53 
Questionvalidate datatype in datagrideview cells HELPPPPPPP Pin
very_short_life21-Sep-06 2:08
very_short_life21-Sep-06 2:08 
AnswerRe: validate datatype in datagrideview cells HELPPPPPPP Pin
mikone21-Sep-06 2:17
mikone21-Sep-06 2:17 

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.