Click here to Skip to main content
15,881,850 members
Home / Discussions / C#
   

C#

 
GeneralRe: string matching Pin
arkiboys15-Jun-10 7:59
arkiboys15-Jun-10 7:59 
AnswerRe: string matching Pin
T M Gray15-Jun-10 8:34
T M Gray15-Jun-10 8:34 
GeneralRe: string matching Pin
arkiboys15-Jun-10 8:46
arkiboys15-Jun-10 8:46 
GeneralRe: string matching Pin
Luc Pattyn15-Jun-10 11:36
sitebuilderLuc Pattyn15-Jun-10 11:36 
GeneralRe: string matching Pin
arkiboys15-Jun-10 11:38
arkiboys15-Jun-10 11:38 
GeneralRe: string matching Pin
Luc Pattyn15-Jun-10 11:38
sitebuilderLuc Pattyn15-Jun-10 11:38 
QuestionSystem.IO.Exception Pin
MWRivera15-Jun-10 6:32
MWRivera15-Jun-10 6:32 
AnswerRe: System.IO.Exception Pin
J4amieC15-Jun-10 6:44
J4amieC15-Jun-10 6:44 
According to the documentation[^], File.Create returns a FileStream that provides read/write access to the file specified in path.

So in answer to your question, yes File.Create does open the file.

Use the returned FileStream to write your data, or call dispose on the filestream before using AppendText.
GeneralRe: System.IO.Exception Pin
MWRivera15-Jun-10 7:45
MWRivera15-Jun-10 7:45 
AnswerRe: System.IO.Exception Pin
Luc Pattyn15-Jun-10 7:10
sitebuilderLuc Pattyn15-Jun-10 7:10 
AnswerRe: System.IO.Exception Pin
yu-jian27-Jun-10 10:28
yu-jian27-Jun-10 10:28 
QuestionDataGrid Column: How to create simulated mouse click event or column header click event. Pin
roman_s15-Jun-10 5:26
roman_s15-Jun-10 5:26 
AnswerRe: DataGrid Column: How to create simulated mouse click event or column header click event. Pin
Henry Minute15-Jun-10 6:26
Henry Minute15-Jun-10 6:26 
QuestionRe: trapping F1 in a file dialog Pin
mla15415-Jun-10 4:30
mla15415-Jun-10 4:30 
AnswerRe: trapping F1 in a file dialog Pin
dan!sh 15-Jun-10 4:49
professional dan!sh 15-Jun-10 4:49 
GeneralRe: trapping F1 in a file dialog Pin
mla15415-Jun-10 5:12
mla15415-Jun-10 5:12 
GeneralRe: trapping F1 in a file dialog Pin
Dave Kreskowiak15-Jun-10 5:25
mveDave Kreskowiak15-Jun-10 5:25 
GeneralRe: trapping F1 in a file dialog [modified] Pin
mla15415-Jun-10 5:30
mla15415-Jun-10 5:30 
GeneralRe: trapping F1 in a file dialog Pin
Dave Kreskowiak15-Jun-10 7:05
mveDave Kreskowiak15-Jun-10 7:05 
GeneralRe: trapping F1 in a file dialog Pin
dan!sh 15-Jun-10 5:57
professional dan!sh 15-Jun-10 5:57 
QuestionCreating Calendar folders using WebDav and C# Pin
vonb15-Jun-10 4:10
vonb15-Jun-10 4:10 
QuestionAzMan Authorization provider and Security problem [modified] Pin
karanba15-Jun-10 3:01
karanba15-Jun-10 3:01 
AnswerRe: AzMan Authorization provider and Security problem Pin
R. Giskard Reventlov15-Jun-10 3:58
R. Giskard Reventlov15-Jun-10 3:58 
Questionadd property to Object OR String .... Pin
jojoba201115-Jun-10 2:31
jojoba201115-Jun-10 2:31 
AnswerRe: add property to Object OR String .... Pin
Peace ON15-Jun-10 2:46
Peace ON15-Jun-10 2: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.