Exception handling can be a costly affair and should be used meticulously as it undoubtedly serves as an integral part of our applications and shouldn't be sidelined for any reason. The common problem in implementing an exception handling mechanism is the dependency on the library after we create a provider. This C# tutorial looks at the possibility of switching the providers easily.
Latest Basic Syntax Articles - Page 2
The Microsoft .NET Framework comes packaged with all the building blocks to implement a keyboard interface in a WinForm application, we'll illustrate and walk through how to extend those building blocks with basic .NET controls, inheritance and custom events to create a consistent keyboard interface.
Understand from this guide how and when - as well as when not - to use multithreading.
With more and more computers using a multi-core processor, the free lunch of increased clock speeds and the inherent performance gains are over. Software developers must instead make sure their applications take use of all the cores available in an efficient manner. New features in .NET 4.0 mean that managed code developers too can join the party.
The way you interact with a personal computing device is changing and is about to change even more with lots of touching and even a little hidden video.
Emitted code and the DynamicMethod have the benefit of speed and the emitted code can be unloaded when the DynamicMethod goes out of scope, resulting in the best of all worlds.
Latest Developer VideosMore...
Latest CodeGuru Developer Columns
The Transactional File System (TxF), which allows access to an NTFS file system to be conducted in a transacted manner through extensions to the Windows SDK API. MFC 10, has been extended to support TxF and related technologies. This support allows existing MFC applications to be easily extended to support kernel transactions.
LINQ is not only for database access; it’s useful in all manner of scenarios. Read this quick refresher to learn more.
Learn how to create your own class and create objects representing that class using Visual Basic.
Arun Karthick introduces you to the state machine model and shows you how to create a simple working state machine sample using the .NET framework in the C# language.