C# & .NET questions and answers
C# language features, LINQ, ASP.NET and the runtime. Page 19 of 20.
Interview Questions practice on Codemia
Over 8,000 real interview questions from top companies, searchable by company and role.
Answers 1081-1140
- How does the following LINQ statement work?
- How does the ThreadStatic attribute work?
- How does this ConcurrentDictionary LazyTaskT code work?
- How does TransactionScope roll back transactions?
- How does WCF deserialization instantiate objects without calling a constructor?
- How exactly does the Specific Version property of an assembly reference work in Visual Studio?
- How is Math.Pow implemented in .NET Framework?
- How is performance affected by an unused using directive?
- How not persist property EF4 code first?
- How serious is this new ASP.NET security vulnerability and how can I workaround it?
- How should I cast in VB.NET?
- How should I remove all elements in a DbSet?
- How slow are .NET exceptions?
- How to abort a Task like aborting a Thread Thread.Abort method?
- How to access property of anonymous type in C?
- How to access the HttpServerUtility.MapPath method in a Thread or Timer?
- How to add a line break in C .NET documentation
- How to add a task to the collection that Task.WhenAll is waiting for?
- How to add a Timeout to Console.ReadLine?
- How to add basic authentication header to WebRequest
- How to add comments into a Xaml file in WPF?
- How to add extension methods to Enums
- How to add folder to assembly search path at runtime in .NET?
- How to add text to request body in RestSharp
- How to append one DataTable to another DataTable
- How to apply InterLocked.Exchange for Enum Types in C?
- How to apply multiple styles in WPF
- How to Async Files.ReadAllLines and await for results?
- How to asynchronously iterate an ObservableCollection containing hierarchical elements?
- How to automatically select all text on focus in WPF TextBox?
- How to await an IAsyncAction method?
- How to bind an enum to a combobox control in WPF?
- How to build a query string for a URL in C?
- How to bust the cache or obtain cache key when using <distributed-cache> Tag helper in Asp.net Core MVC
- How to calculate pi to N number of places in C using loops
- How to calculate simple moving average faster in C?
- How to call async methods from within a Prism event aggregator subscriber?
- How to call asynchronous method from synchronous method in C#?
- How to call asynchronous method from synchronous method in C?
- How to catch exceptions from a ThreadPool.QueueUserWorkItem?
- How to catch exceptions from a ThreadPool.QueueUserWorkItem?
- How to center a label text in WPF?
- How to change indentation in Visual Studio Code?
- How to change symbol for decimal point in double.ToString?
- How to change the color of progressbar in C .NET 3.5?
- How to change the color of winform DataGridview header?
- How to change the timeout on a .NET WebClient object
- How to change the value of attribute in appSettings section with Web.config transformation
- How to check if IEnumerable is null or empty?
- How to check if object has been disposed in C
- How to check if property setter is public
- How to check possibility of deadlock in c code
- How to check programmatically if a type is a struct or a class?
- How to check that Request.QueryString has a specific value or not in ASP.NET?
- How to compare 'μ' and 'µ' in C
- How to compare DateTime in C?
- How to compare DateTime without time via LINQ?
- How to compare different branches in Visual Studio Code
- How to Compare Flags in C?
- How to compare the performance of Android Apps written in Java and Xamarin C#? Anyway to check quantitative data (code & results)

Course
Intermediate
27 lessons
14 hours
OOD Fundamentals
Master object-oriented design from first principles, SOLID, design patterns, and classic interview problems with hands-on coding.
View the course