C# & .NET questions and answers
C# language features, LINQ, ASP.NET and the runtime. Page 18 of 20.
Interview Questions practice on Codemia
Over 8,000 real interview questions from top companies, searchable by company and role.
Answers 1021-1080
- How do I stop a thread when my winform application closes
- How do I submit disabled input in ASP.NET MVC?
- How do I sync the SVN revision number with my ASP.NET web site?
- How do I test an async method with NUnit or possibly with another framework?
- How do I trap CtrlC SIGINT in a C console app?
- How do I truncate a .NET string?
- How do I turn a C# object into a JSON string in .NET?
- How do I turn a C object into a JSON string in .NET?
- How do I uninstall Microsoft .NET Core 1.0.0 RC2 - VS 2015 Tooling Preview 1?
- How do I update an ObservableCollection via a worker thread?
- How do I upload a file to an SFTP server in C .NET?
- How do I use a C keyword as a property name?
- How do I use OpenFileDialog to select a folder?
- How do I use reflection to determine the nested type element type of an array?
- How do I use WPF bindings with RelativeSource?
- How do I verify a method was called exactly once with Moq?
- How do I view the SQL generated by the Entity Framework?
- how do I work around log4net keeping changing publickeytoken
- How do I write LINQ's .Skip1000.Take100 in pure SQL?
- How do I write one to many query in Dapper.Net?
- How do the semantics of AsyncLocal differ from the logical call context?
- How do the Sho dll's from Microsoft Research compare to the open-source Math.NET numerics project
- How do ValueTypes derive from Object ReferenceType and still be ValueTypes?
- How do yield and await implement flow of control in .NET?
- How do you auto format code in Visual Studio?
- How do you bind an Enum to a DropDownList control in ASP.NET?
- How do you configure an OpenFileDialog to select folders?
- How do you convert a string to a byte array in .NET?
- How do you count the lines of code in a Visual Studio solution?
- How do You Create a Read-Only Dependency Property?
- How do you debug MVC 4 API routes?
- How do you do a deep copy of an object in .NET?
- How do you do Impersonation in .NET?
- How do you enable Enable .NET Framework source stepping?
- How do you format code in Visual Studio Code (VSCode)?
- How do you get a string from a MemoryStream?
- How do you implement an async action delegate method?
- How do you keep user.config settings across different assembly versions in .net?
- How do you log the machine name via log4net?
- How do you loop through currently loaded assemblies?
- How do you prevent IDisposable from spreading to all your classes?
- How do you share code between projects/solutions in Visual Studio?
- How do you simulate Mouse Click in C?
- How do you update multiple field using Update.Set in MongoDB using official c driver?
- How do you update multiple field using Update.Set in MongoDB using official c driver?
- How do you UrlEncode without using System.Web?
- How do you use AsParallel with the async and await keywords?
- How does async work in .NET Core on linux not having IO Completion Ports?
- How does DateTime.Now.Ticks exactly work?
- How does DateTime.ToUniversalTime work?
- How does extern work in C?
- How does MVC 4 List Model Binding work?
- How does .NET framework allocate memory for OutOfMemoryException?
- How does one tell if an IDisposable object reference is disposed?
- How does one test async code using MSTest
- How does RegexOptions.Compiled work?
- How does String.Equalsa,b not produce a StackOverflowException?
- How does string.Format handle null values?
- How does Taskint become an int?
- How does Taskint become an int?

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