C# & .NET questions and answers
C# language features, LINQ, ASP.NET and the runtime. Page 9 of 20.
Interview Questions practice on Codemia
Over 8,000 real interview questions from top companies, searchable by company and role.
Answers 481-540
- Cross-thread operation not valid using async/await in VSTO
- CryptographicException ''Keyset does not exist'', but only through WCF
- C's equivalent of Java's ? extends Base in generics
- C's lock in Managed C
- Custom Assembly Attributes
- Custom configuration in Load Test Visual Studio 2013 Ultimate
- Custom serialization in Kafka using CSharp
- Dapper async and transaction
- Data structure like Dictionary but without a value in .NET
- DataAnnotations Recursively validating an entire object graph
- Databinding an enum property to a ComboBox in WPF
- DataContractSerializer doesn't call my constructor?
- DataContractSerializer vs XmlSerializer Pros and Cons of each serializer
- DataGridView - how to set column width?
- DateTime vs DateTimeOffset
- DateTime vs DateTimeOffset
- DateTime.Compare how to check if a date is less than 30 days old?
- DateTime.Now vs. DateTime.UtcNow
- DateTime.Now.ToStringyyyy-MM-dd hhmmss is returning AM time instead of PM time?
- DateTime.Parse2012-09-30T230000.0000000Z always converts to DateTimeKind.Local
- DateTime.TryParseExact rejecting valid formats
- DbContext discard changes without disposing
- Deadly exception, how to catch? System.Net.InternalException System error
- Debug async method in VS 2013
- Debug Console window cannot accept Console.ReadLine input during debugging
- Debug vs. release in .NET
- Debug.WriteLine in release build
- Deciding between HttpClient and WebClient
- Decimal precision and scale in EF Code First
- Deciphering the .NET clr20r3 exception parameters P1..P10
- Declare a dictionary inside a static class
- Declaring a Task Property and awaiting it
- Decoding and verifying JWT token using System.IdentityModel.Tokens.Jwt
- Default implementation for Object.GetHashCode
- Default parameter for CancellationToken
- Default SecurityProtocol in .NET 4.5
- Define an abstract async method even if not all overrides are async?
- Defining conditional compilation symbols in MSBuild
- Delaying a Queued Background WorkItem
- delegate keyword vs. lambda notation
- Delegate.BeginInvoke vs ThreadPool.QueueWorkerUserItem
- Delete files older than 3 months old in a directory using .NET
- Dependency graph of Visual Studio projects
- Dependent DLL is not getting copied to the build output folder in Visual Studio
- Deploy a .NET Windows Service with Amazon Elastic Beanstalk with no Web Application
- Deserialize JSON into C# dynamic object?
- Deserialize JSON into C dynamic object?
- Deserialize JSON object into dynamic object using Json.net
- Deserializing empty xml attribute value into nullable int property using XmlSerializer
- Design of asynchronous socket classes in C
- Destructor vs IDisposable?
- Detect if deserialized object is missing a field with the JsonConvert class in Json.NET Newtonsoft
- Detect Windows version in .NET
- Detected package downgrade warning dotnet core, vs 2017
- Detecting async client disconnect in ASP.NET MVC
- Detecting USB drive insertion and removal using windows service and c
- Determine if ASP.NET application is running locally
- Determine .NET Framework version for dll
- Determine via C whether a string is a valid file path
- Determine what control the ContextMenuStrip was used on

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