Click here to Skip to main content
15,923,120 members
Home / Discussions / C#
   

C#

 
AnswerRe: Starting programming at age 28 Pin
Zhat12-Jan-09 2:22
Zhat12-Jan-09 2:22 
QuestionString Operations Pin
wasifmuneer10-Jan-09 7:34
wasifmuneer10-Jan-09 7:34 
AnswerRe: String Operations Pin
DaveyM6910-Jan-09 7:57
professionalDaveyM6910-Jan-09 7:57 
GeneralRe: String Operations Pin
wasifmuneer10-Jan-09 8:00
wasifmuneer10-Jan-09 8:00 
GeneralRe: String Operations Pin
DaveyM6910-Jan-09 8:18
professionalDaveyM6910-Jan-09 8:18 
GeneralRe: String Operations Pin
Luc Pattyn10-Jan-09 8:36
sitebuilderLuc Pattyn10-Jan-09 8:36 
GeneralRe: String Operations Pin
DaveyM6910-Jan-09 8:43
professionalDaveyM6910-Jan-09 8:43 
GeneralRe: String Operations Pin
wasifmuneer10-Jan-09 8:56
wasifmuneer10-Jan-09 8:56 
GeneralRe: String Operations Pin
Luc Pattyn10-Jan-09 9:03
sitebuilderLuc Pattyn10-Jan-09 9:03 
GeneralRe: String Operations Pin
Dewald10-Jan-09 9:08
Dewald10-Jan-09 9:08 
GeneralRe: String Operations Pin
Judah Gabriel Himango10-Jan-09 11:53
sponsorJudah Gabriel Himango10-Jan-09 11:53 
GeneralRe: String Operations Pin
Luc Pattyn10-Jan-09 12:18
sitebuilderLuc Pattyn10-Jan-09 12:18 
GeneralRe: String Operations Pin
Guffa10-Jan-09 17:20
Guffa10-Jan-09 17:20 
GeneralRe: String Operations Pin
Luc Pattyn10-Jan-09 17:24
sitebuilderLuc Pattyn10-Jan-09 17:24 
AnswerRe: String Operations Pin
Guffa10-Jan-09 17:23
Guffa10-Jan-09 17:23 
GeneralRe: String Operations Pin
Luc Pattyn10-Jan-09 17:39
sitebuilderLuc Pattyn10-Jan-09 17:39 
GeneralRe: String Operations Pin
Guffa10-Jan-09 17:50
Guffa10-Jan-09 17:50 
GeneralRe: String Operations Pin
Luc Pattyn10-Jan-09 18:00
sitebuilderLuc Pattyn10-Jan-09 18:00 
GeneralRe: String Operations Pin
Guffa10-Jan-09 18:38
Guffa10-Jan-09 18:38 
GeneralRe: String Operations Pin
Luc Pattyn10-Jan-09 19:01
sitebuilderLuc Pattyn10-Jan-09 19:01 
AnswerRe: String Operations Pin
#realJSOP11-Jan-09 0:26
professional#realJSOP11-Jan-09 0:26 
QuestionChilkat (.NET) components? Pin
Ravi Bhavnani10-Jan-09 5:35
professionalRavi Bhavnani10-Jan-09 5:35 
AnswerRe: Chilkat (.NET) components? Pin
Judah Gabriel Himango10-Jan-09 10:41
sponsorJudah Gabriel Himango10-Jan-09 10:41 
GeneralRe: Chilkat (.NET) components? Pin
Ravi Bhavnani10-Jan-09 10:48
professionalRavi Bhavnani10-Jan-09 10:48 
Questionlooping through variables whose names start with... Pin
LordZoster10-Jan-09 4:19
LordZoster10-Jan-09 4:19 
Hallo
i'd need to write a loop which iterate through the variables whose names start with a specific string: i.e.
for every variable whose name starts with "PATH_.." [or Left(name,5) == "PATH_"]
perform a file.exists check 

or, again
for every variable whose name starts with "IMG_.."
do this: imgArray[variable_name] = variable_value
(imgArray being a pre defined Hashtable)


To be clearer, in PHP variable names can be obtained through the syntax $$variable, where $variable returns the variable value only.
In other words, i would like to automatically do a collection of variables grouped by particular strings in their names.
Is it possible?

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.