Click here to Skip to main content
15,914,111 members
Home / Discussions / C#
   

C#

 
Questionc# array Pin
swathiii15-May-18 21:00
swathiii15-May-18 21:00 
SuggestionRe: c# array Pin
Richard MacCutchan15-May-18 21:30
mveRichard MacCutchan15-May-18 21:30 
AnswerRe: c# array Pin
OriginalGriff15-May-18 21:34
mveOriginalGriff15-May-18 21:34 
GeneralRe: c# array Pin
swathiii15-May-18 21:50
swathiii15-May-18 21:50 
GeneralRe: c# array Pin
OriginalGriff15-May-18 21:58
mveOriginalGriff15-May-18 21:58 
GeneralRe: c# array Pin
Mycroft Holmes15-May-18 23:16
professionalMycroft Holmes15-May-18 23:16 
GeneralRe: c# array Pin
OriginalGriff15-May-18 23:38
mveOriginalGriff15-May-18 23:38 
GeneralRe: c# array Pin
Pete O'Hanlon16-May-18 0:56
mvePete O'Hanlon16-May-18 0:56 
GeneralRe: c# array Pin
OriginalGriff16-May-18 1:14
mveOriginalGriff16-May-18 1:14 
GeneralRe: c# array Pin
Pete O'Hanlon16-May-18 2:18
mvePete O'Hanlon16-May-18 2:18 
GeneralRe: c# array Pin
Eddy Vluggen16-May-18 1:10
professionalEddy Vluggen16-May-18 1:10 
GeneralRe: c# array Pin
Dave Kreskowiak16-May-18 2:19
mveDave Kreskowiak16-May-18 2:19 
GeneralRe: c# array Pin
Kevin Marois16-May-18 5:40
professionalKevin Marois16-May-18 5:40 
GeneralRe: c# array Pin
Rob Philpott17-May-18 6:18
Rob Philpott17-May-18 6:18 
QuestionSolution Explorer > FOLDER > Text Files Pin
Member 1374647813-May-18 23:46
Member 1374647813-May-18 23:46 
AnswerRe: Solution Explorer > FOLDER > Text Files Pin
OriginalGriff14-May-18 0:15
mveOriginalGriff14-May-18 0:15 
Depends on exactly what you did when you added the files: If you highlight the file and go to the Properties pane, you can set the "Build Action" to "Embedded Resource".
Then go to the project in the Solution Exploerer panel, and open the "Properties" branch.
Double click "Resources.resx".
Drag the text file from the solution folder to the resources page, and drop it.

You can now access the file from the Properties in your code:
string myText = Properties.Resources.MyTextFile;
Where "MyTextFile.txt" was the original file name.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!

QuestionGetting error Cannot access a disposed object. Object name: 'TreeView' Pin
ranimiyer1013-May-18 23:18
ranimiyer1013-May-18 23:18 
AnswerRe: Getting error Cannot access a disposed object. Object name: 'TreeView' Pin
Eddy Vluggen14-May-18 2:00
professionalEddy Vluggen14-May-18 2:00 
Questionc# unique character in char array Pin
swathiii12-May-18 2:44
swathiii12-May-18 2:44 
AnswerRe: c# unique character in char array Pin
Gerry Schmitz12-May-18 2:54
mveGerry Schmitz12-May-18 2:54 
QuestionRe: c# unique character in char array Pin
Richard MacCutchan12-May-18 3:32
mveRichard MacCutchan12-May-18 3:32 
AnswerRe: c# unique character in char array Pin
OriginalGriff12-May-18 4:16
mveOriginalGriff12-May-18 4:16 
AnswerRe: c# unique character in char array Pin
#realJSOP14-May-18 6:43
professional#realJSOP14-May-18 6:43 
GeneralRe: c# unique character in char array Pin
Mycroft Holmes14-May-18 14:13
professionalMycroft Holmes14-May-18 14:13 
GeneralRe: c# unique character in char array Pin
#realJSOP15-May-18 3:46
professional#realJSOP15-May-18 3:46 

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.