C# & .NET questions and answers
C# language features, LINQ, ASP.NET and the runtime. Page 13 of 20.
Interview Questions practice on Codemia
Over 8,000 real interview questions from top companies, searchable by company and role.
Answers 721-780
- FileUpload.PostedFile is always null unless the page has posted back at least once?
- Find a private field with Reflection?
- Find all controls in WPF Window by type
- Find and First throws exceptions, how to return null instead?
- Find and replace with a newline in Visual Studio Code
- Find image format using Bitmap object in C
- Find the highest occuring words in a string C
- Find the next TCP port in .NET
- Find type of nullable properties via reflection
- Find Types in All Assemblies
- Finding all positions of substring in a larger string in C
- Finding an item in a List using C
- Finding property differences between two C objects
- Firing off multiple Tasks asynchronously and waiting for them to complete
- FirstOrDefault Default value other than null
- Floating point comparison functions for C
- FlowLayoutPanel - Automatic Width for controls?
- Fluent Validation vs. Data Annotations
- FluentValidation Check if one of two fields are empty
- Flutter - Default image to Image.network when it fails
- force browsers to get latest js and css files in asp.net application
- Force XmlSerializer to serialize DateTime as 'YYYY-MM-DD hhmmss
- Formatting IPv6 as an int in C and storing it in SQL Server
- Func delegate with no return type
- Func vs. Action vs. Predicate
- FuncT with out parameter
- Fuzzy text sentences/titles matching in C
- Generate C class from XML
- Generate C classes from JSON Schema
- Generating a random decimal in C
- Generating a random, non-repeating sequence of all integers in .NET
- Generating Unique Numeric IDs using DateTime.Now.Ticks
- Generic List - moving an item within the list
- generic NOT constraint where T IEnumerable
- Generics in C, using type of a variable as parameter
- Get a TextReader from a Stream?
- Get all column names of a DataTable into string array using LINQ/Predicate
- Get all derived types of a type
- Get currently focused element/control in a WPF window
- Get DateTime as UTC with Dapper
- Get Enum from Description attribute
- Get log4net log file in C
- Get number of digits in an unsigned long integer c
- Get output parameter value in ADO.NET
- Get sum of two columns in one LINQ query
- Get the .NET assembly's AssemblyInformationalVersion value?
- Get the previous month's first and last day dates in c
- Get the sum of powers of 2 for a given number c
- Get Timezone Offset of Server in C
- Get URL parameters from a string in .NET
- GetFiles with multiple extensions
- GetHashCode Guidelines in C
- GetPathsOfAllDirectoriesAbove cannot be evaluated after updating .Net Framework version 4.6.2 to 4.7.2
- GetProperties to return all properties for an interface inheritance hierarchy
- Getter and Setter declaration in .NET
- Getting a 2nd IAsyncEnumerator from the same IAsyncEnumerable based on Task.WhenEach method
- Getting all types in a namespace via reflection
- Getting assembly name
- Getting current directory in .NET web application
- Getting day suffix when using DateTime.ToString

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