C# & .NET questions and answers
C# language features, LINQ, ASP.NET and the runtime. Page 7 of 20.
Interview Questions practice on Codemia
Over 8,000 real interview questions from top companies, searchable by company and role.
Answers 361-420
- Case insensitive string compare in LINQ-to-SQL
- Cast received object to a Listobject or IEnumerableobject
- Casting interfaces for deserialization in Json.NET
- Casting NewType vs. Object as NewType
- Casting TResult in TaskTResult to System.Object
- Catch an exception thrown by an async void method
- center MessageBox in parent form
- Centering controls within a form in .NET Winforms?
- Change Assembly Version in a compiled .NET assembly
- Change C/CLI project to another framework than 4.0 with vs2010
- Change default app.config at runtime
- Change desktop wallpaper using code in .NET
- Change the Target Framework for all my projects in a Visual Studio Solution
- Change WPF controls from a non-main thread using Dispatcher.Invoke
- Change WPF DataTemplate for ListBox item if selected
- Changing SqlConnection timeout
- Channel/BlockingCollection alloc free alternatives?
- Check for column name in a SqlDataReader object
- Check if a value is in an array C
- Check if Key Exists in NameValueCollection
- Check if one IEnumerable contains all elements of another IEnumerable
- Checking for directory and file write permissions in .NET
- Checking for null before ToString
- Checking if a list is empty with LINQ
- Choosing between calling asp.net core blazor methods synchronously or asynchronously
- Choosing between MEF and MAF System.AddIn
- Clear image on picturebox
- Clearing content of text file using C
- Code-first migration How to set default value for new property?
- code . is not working in on the command line for Visual Studio Code on OS X/Mac
- Collapse all methods in Visual Studio Code
- CollectionT versus ListT what should you use on your interfaces?
- Command for WPF TextBox that fires up when we hit Enter Key
- Compare String and Object in C
- Comparing double values in C
- Comparing two byte arrays in .NET
- Compilation Error The modifier 'public' is not valid for this item while explicitly implementing the interface
- Compilation Error The type 'ASP.global_asax' exists in both DLLs
- Compiling C to Native?
- Concurrent Dictionary Correct Usage
- Concurrent Dictionary Correct Usage
- Concurrent HashSetT in .NET Framework?
- Conditional Validation using Fluent Validation
- Conditionally use 32/64 bit reference when building in Visual Studio
- ConfigurationManager.AppSettings - How to modify and save?
- ConfigureAwaitfalse not needed in Console/Win service apps, right?
- ConfigureAwaitfalse relevant in ASP.NET Core?
- Confusion over .NET 4 Async
- Console.WriteLine does not show up in Output window
- Construct LambdaExpression for nested property from string
- ContextSwitchDeadlock Was Detected error in C
- Control.EndInvoke resets call stack for exception
- Convert a list to a string in C
- Convert a string to an enum in C#
- Convert an array to a HashSetT in .NET
- Convert an enum to Liststring
- Convert DataRowCollection to IEnumerableT
- Convert DateTime to TimeSpan
- Convert Dictionarystring, object To Anonymous Object?
- Convert double to float by cast or Convert.ToSingle?

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