Click here to Skip to main content
15,891,253 members
Home / Discussions / C#
   

C#

 
GeneralRe: Read Portion of text from Text File Pin
Member 1398003226-Aug-19 21:31
Member 1398003226-Aug-19 21:31 
GeneralRe: Read Portion of text from Text File Pin
phil.o26-Aug-19 21:39
professionalphil.o26-Aug-19 21:39 
GeneralRe: Read Portion of text from Text File Pin
Member 1398003226-Aug-19 21:41
Member 1398003226-Aug-19 21:41 
GeneralRe: Read Portion of text from Text File Pin
OriginalGriff26-Aug-19 21:21
mveOriginalGriff26-Aug-19 21:21 
GeneralRe: Read Portion of text from Text File Pin
Member 1398003226-Aug-19 21:37
Member 1398003226-Aug-19 21:37 
GeneralRe: Read Portion of text from Text File Pin
OriginalGriff26-Aug-19 21:48
mveOriginalGriff26-Aug-19 21:48 
AnswerRe: Read Portion of text from Text File Pin
Gerry Schmitz27-Aug-19 5:24
mveGerry Schmitz27-Aug-19 5:24 
SuggestionRe: Read Portion of text from Text File Pin
Richard Deeming27-Aug-19 5:42
mveRichard Deeming27-Aug-19 5:42 
ReadAllLines reads the whole file into memory. In this case, it would be better to use ReadLines instead. Smile | :)

File.ReadAllLines Method (System.IO) | Microsoft Docs[^]
File.ReadLines Method (System.IO) | Microsoft Docs[^]

Quote:
The ReadLines and ReadAllLines methods differ as follows: When you use ReadLines, you can start enumerating the collection of strings before the whole collection is returned; when you use ReadAllLines, you must wait for the whole array of strings be returned before you can access the array. Therefore, when you are working with very large files, ReadLines can be more efficient.




"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer

QuestionC# WPF Snip code for Login on AD Azure Problem to find the right code Pin
jan Meeling25-Aug-19 21:56
jan Meeling25-Aug-19 21:56 
AnswerRe: C# WPF Seeds code for Login on AD Azure Pin
phil.o25-Aug-19 22:12
professionalphil.o25-Aug-19 22:12 
GeneralRe: C# WPF Seeds code for Login on AD Azure Pin
#realJSOP26-Aug-19 0:48
mve#realJSOP26-Aug-19 0:48 
GeneralRe: C# WPF Seeds code for Login on AD Azure Pin
phil.o26-Aug-19 0:55
professionalphil.o26-Aug-19 0:55 
GeneralRe: C# WPF Seeds code for Login on AD Azure Pin
jan Meeling26-Aug-19 20:47
jan Meeling26-Aug-19 20:47 
AnswerRe: C# WPF Seeds code for Login on AD Azure Pin
OriginalGriff25-Aug-19 22:16
mveOriginalGriff25-Aug-19 22:16 
GeneralRe: C# WPF Seeds code for Login on AD Azure Pin
jan Meeling26-Aug-19 20:44
jan Meeling26-Aug-19 20:44 
GeneralRe: C# WPF Seeds code for Login on AD Azure Pin
Richard MacCutchan26-Aug-19 20:54
mveRichard MacCutchan26-Aug-19 20:54 
GeneralRe: C# WPF Seeds code for Login on AD Azure Pin
jan Meeling26-Aug-19 21:55
jan Meeling26-Aug-19 21:55 
GeneralRe: C# WPF Seeds code for Login on AD Azure Pin
Richard MacCutchan26-Aug-19 22:08
mveRichard MacCutchan26-Aug-19 22:08 
GeneralRe: C# WPF Seeds code for Login on AD Azure Pin
jan Meeling27-Aug-19 0:05
jan Meeling27-Aug-19 0:05 
GeneralRe: C# WPF Seeds code for Login on AD Azure Pin
Richard MacCutchan27-Aug-19 1:19
mveRichard MacCutchan27-Aug-19 1:19 
QuestionIntercepting a Logoff Pin
ormonds23-Aug-19 12:07
ormonds23-Aug-19 12:07 
AnswerRe: Intercepting a Logoff Pin
OriginalGriff23-Aug-19 19:42
mveOriginalGriff23-Aug-19 19:42 
GeneralRe: Intercepting a Logoff Pin
ormonds27-Aug-19 2:50
ormonds27-Aug-19 2:50 
GeneralRe: Intercepting a Logoff Pin
Dave Kreskowiak27-Aug-19 5:09
mveDave Kreskowiak27-Aug-19 5:09 
GeneralRe: Intercepting a Logoff Pin
ormonds27-Aug-19 13:10
ormonds27-Aug-19 13:10 

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.