- Which syntax should we use to append text to a file?
- File.CreateText
- FileInfo.Create
- File.Create
- File.AppendText
- Which syntax should we use if the application needs to wait for asynchronous calls from multiple sources?
- async
- await
- Task
- Task.WhenAll
- Which one of the following statements is incorrect?
- StreamWriter only works with text; however, FileStream works with bytes.
- We can lock files in .NET.
- If we have an asynchronous function, it can have one of three return types: Task, Task<TResult>, and Void.
- DirectoryNotFoundException is thrown when the directory in the file path is no longer available.
United States
United Kingdom
India
Germany
France
Canada
Russia
Spain
Brazil
Australia
Argentina
Austria
Belgium
Bulgaria
Chile
Colombia
Cyprus
Czechia
Denmark
Ecuador
Egypt
Estonia
Finland
Greece
Hungary
Indonesia
Ireland
Italy
Japan
Latvia
Lithuania
Luxembourg
Malaysia
Malta
Mexico
Netherlands
New Zealand
Norway
Philippines
Poland
Portugal
Romania
Singapore
Slovakia
Slovenia
South Africa
South Korea
Sweden
Switzerland
Taiwan
Thailand
Turkey
Ukraine