1. Core language - variables, functions, loops
2. Generics,Data structures and Collections.
2. Threading
3. Network reading and writing
4. Disk IO
Generics types allow code reuse with type safety
List, Queue, Stack, Hashset, SortedSet LinkedList, Dictionary, SortedDictionary, SortedList
Threadsafe : concurrent collections.
Disk IO:
A stream is a sequence of bytes that you can use to read from or write to a backing store.
2. Generics,Data structures and Collections.
2. Threading
3. Network reading and writing
4. Disk IO
Generics types allow code reuse with type safety
List, Queue, Stack, Hashset, SortedSet LinkedList, Dictionary, SortedDictionary, SortedList
Threadsafe : concurrent collections.
Disk IO:
A stream is a sequence of bytes that you can use to read from or write to a backing store.
- Reading all the text file from disk
- Reading large text file from Disk
using (var sr = new StreamReader(file))
{
string line;
while ((line = sr.ReadLine()) != null)
{
Console.WriteLine(line);
}
}

No comments:
Post a Comment