If you are using LinQ as ORM and getting your stuff done in a simple object-oriented way, that's nice! Have you seen some one-liner magic code that doesn't look very familiar to our usual C# code? Those are lambda expressions, an excellent way to get things done simply and easily. In today's tutorial, We will discuss a basic understanding of C# lambda expression, which plays a … [Read more...] about How To Work With LinQ C# Lambda Expression
c#
How To Use WPF DataGrid in C#.NET
WPF Datagrid didn't seem to be that handy or easy to use to me like win-form data-grid. However, that doesn't mean it's a lot hard to implement it. Though I wasn't able to dig much into this, I would like to share my gathered knowledge while basic practicing that should help you implement a simple WPF and c# #-based data-grid application easily. I will also show how to add … [Read more...] about How To Use WPF DataGrid in C#.NET
How To Work With Multithreaded Programming In C#.NET Application
While developing desktop applications, we may sometimes be required to work with Multithreaded programming. This can also help optimize the software's performance, as it makes the most of the CPU core(s) and thus provides better throughput/results. We also refer to this type of implementation as 'multi-tasking'. In such a case, our application will be able to do different types … [Read more...] about How To Work With Multithreaded Programming In C#.NET Application
Getting Started With Using Dictionary Collection In C#
The term 'Dictionary' in C# programming has some other synonyms to refer to it, such as "associative array," "key-value pair," "index-value pair," etc. The dictionary uses a 'hash table' data structure to build up the index/value pair. This is an extended/advanced array system where you can define the index with other data types than int and set up your data structure more … [Read more...] about Getting Started With Using Dictionary Collection In C#
How To Work With C# Serial Port Communication
In today's programming tutorial, I will describe some basics about how we can perform serial port communication from our C#.NET applications. Serial communications can be done either directly to a physical serial port connected to the computer or via a USB-to-serial converter interface. If the device requires a serial port and your computer doesn't have one, you can easily use … [Read more...] about How To Work With C# Serial Port Communication