Click here to Skip to main content
14,357,489 members
   

C#

 
GeneralRe: Read Portion of text from Text File Pin
Member 1398003226-Aug-19 22:31
memberMember 1398003226-Aug-19 22:31 
GeneralRe: Read Portion of text from Text File Pin
phil.o26-Aug-19 22:39
mvephil.o26-Aug-19 22:39 
GeneralRe: Read Portion of text from Text File Pin
Member 1398003226-Aug-19 22:41
memberMember 1398003226-Aug-19 22:41 
GeneralRe: Read Portion of text from Text File Pin
OriginalGriff26-Aug-19 22:21
protectorOriginalGriff26-Aug-19 22:21 
GeneralRe: Read Portion of text from Text File Pin
Member 1398003226-Aug-19 22:37
memberMember 1398003226-Aug-19 22:37 
GeneralRe: Read Portion of text from Text File Pin
OriginalGriff26-Aug-19 22:48
protectorOriginalGriff26-Aug-19 22:48 
AnswerRe: Read Portion of text from Text File Pin
Gerry Schmitz27-Aug-19 6:24
mveGerry Schmitz27-Aug-19 6:24 
SuggestionRe: Read Portion of text from Text File Pin
Richard Deeming27-Aug-19 6:42
mveRichard Deeming27-Aug-19 6: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 22:56
memberjan Meeling25-Aug-19 22:56 
AnswerRe: C# WPF Seeds code for Login on AD Azure Pin
phil.o25-Aug-19 23:12
mvephil.o25-Aug-19 23:12 
GeneralRe: C# WPF Seeds code for Login on AD Azure Pin
#realJSOP26-Aug-19 1:48
mve#realJSOP26-Aug-19 1:48 
GeneralRe: C# WPF Seeds code for Login on AD Azure Pin
phil.o26-Aug-19 1:55
mvephil.o26-Aug-19 1:55 
GeneralRe: C# WPF Seeds code for Login on AD Azure Pin
jan Meeling26-Aug-19 21:47
memberjan Meeling26-Aug-19 21:47 
AnswerRe: C# WPF Seeds code for Login on AD Azure Pin
OriginalGriff25-Aug-19 23:16
protectorOriginalGriff25-Aug-19 23:16 
GeneralRe: C# WPF Seeds code for Login on AD Azure Pin
jan Meeling26-Aug-19 21:44
memberjan Meeling26-Aug-19 21:44 
GeneralRe: C# WPF Seeds code for Login on AD Azure Pin
Richard MacCutchan26-Aug-19 21:54
protectorRichard MacCutchan26-Aug-19 21:54 
GeneralRe: C# WPF Seeds code for Login on AD Azure Pin
jan Meeling26-Aug-19 22:55
memberjan Meeling26-Aug-19 22:55 
GeneralRe: C# WPF Seeds code for Login on AD Azure Pin
Richard MacCutchan26-Aug-19 23:08
protectorRichard MacCutchan26-Aug-19 23:08 
GeneralRe: C# WPF Seeds code for Login on AD Azure Pin
jan Meeling27-Aug-19 1:05
memberjan Meeling27-Aug-19 1:05 
GeneralRe: C# WPF Seeds code for Login on AD Azure Pin
Richard MacCutchan27-Aug-19 2:19
protectorRichard MacCutchan27-Aug-19 2:19 
QuestionIntercepting a Logoff Pin
ormonds23-Aug-19 13:07
memberormonds23-Aug-19 13:07 
AnswerRe: Intercepting a Logoff Pin
OriginalGriff23-Aug-19 20:42
protectorOriginalGriff23-Aug-19 20:42 
GeneralRe: Intercepting a Logoff Pin
ormonds27-Aug-19 3:50
memberormonds27-Aug-19 3:50 
GeneralRe: Intercepting a Logoff Pin
Dave Kreskowiak27-Aug-19 6:09
mveDave Kreskowiak27-Aug-19 6:09 
GeneralRe: Intercepting a Logoff Pin
ormonds27-Aug-19 14:10
memberormonds27-Aug-19 14: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.