Click here to Skip to main content
15,568,965 members
Home / Discussions / C#
   

C#

 
GeneralRe: Best method for syntax highlighting Pin
Kevin Marois14-Jul-09 10:08
professionalKevin Marois14-Jul-09 10:08 
GeneralRe: Best method for syntax highlighting Pin
Adam R Harris14-Jul-09 11:32
Adam R Harris14-Jul-09 11:32 
QuestionPassing a pointer to array of structs via P/Invoke Pin
Klempie14-Jul-09 7:29
Klempie14-Jul-09 7:29 
Questioncustomizing a ToolStripTextBox Pin
Jim Crafton14-Jul-09 6:38
Jim Crafton14-Jul-09 6:38 
AnswerRe: customizing a ToolStripTextBox Pin
Henry Minute14-Jul-09 6:53
Henry Minute14-Jul-09 6:53 
GeneralRe: customizing a ToolStripTextBox Pin
Jim Crafton14-Jul-09 7:04
Jim Crafton14-Jul-09 7:04 
GeneralRe: customizing a ToolStripTextBox Pin
DaveyM6914-Jul-09 7:26
professionalDaveyM6914-Jul-09 7:26 
Questionreturn string Pin
AndyInUK14-Jul-09 6:22
AndyInUK14-Jul-09 6:22 
Hi Devs,

I am trying to return a string which goes out of scope.
public static string test(Guid ID)
{
 if (a == n )
  {
    string abc = x.group;
  }
return abc
} 


What would be the best way to return the abc string because as it is declared in bracket, it gets out of scope.

Thank You
AnswerRe: return string Pin
Simon P Stevens14-Jul-09 6:28
Simon P Stevens14-Jul-09 6:28 
GeneralRe: return string Pin
AndyInUK14-Jul-09 6:36
AndyInUK14-Jul-09 6:36 
AnswerRe: return string Pin
Luc Pattyn14-Jul-09 6:42
sitebuilderLuc Pattyn14-Jul-09 6:42 
GeneralRe: return string Pin
AndyInUK14-Jul-09 7:19
AndyInUK14-Jul-09 7:19 
GeneralRe: return string Pin
Luc Pattyn14-Jul-09 7:27
sitebuilderLuc Pattyn14-Jul-09 7:27 
GeneralRe: return string Pin
musefan14-Jul-09 8:10
musefan14-Jul-09 8:10 
GeneralRe: return string Pin
Joe Woodbury14-Jul-09 7:48
professionalJoe Woodbury14-Jul-09 7:48 
GeneralRe: return string Pin
musefan14-Jul-09 7:57
musefan14-Jul-09 7:57 
GeneralRe: return string Pin
Luc Pattyn14-Jul-09 8:04
sitebuilderLuc Pattyn14-Jul-09 8:04 
GeneralRe: return string [modified] Pin
Joe Woodbury14-Jul-09 8:07
professionalJoe Woodbury14-Jul-09 8:07 
GeneralRe: return string Pin
AndyInUK15-Jul-09 6:20
AndyInUK15-Jul-09 6:20 
GeneralRe: return string Pin
Joe Woodbury15-Jul-09 6:35
professionalJoe Woodbury15-Jul-09 6:35 
JokeRe: return string Pin
musefan14-Jul-09 8:18
musefan14-Jul-09 8:18 
GeneralRe: return string Pin
Luc Pattyn14-Jul-09 8:45
sitebuilderLuc Pattyn14-Jul-09 8:45 
AnswerRe: return string Pin
sskset14-Jul-09 8:52
sskset14-Jul-09 8:52 
Questionregarding grab image from mobile camera?? Pin
Tridip Bhattacharjee14-Jul-09 3:34
professionalTridip Bhattacharjee14-Jul-09 3:34 
AnswerRe: regarding grab image from mobile camera?? Pin
DoctorMick14-Jul-09 6:19
DoctorMick14-Jul-09 6:19 

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.