Here’s a sample code snippet demonstrating how to filter elements from a list of objects using the where clause using Lambda in VB.NET. This sample gets all the employees who salary is greater than 20000 GBP and age is greater than 22. How to Filter Employees List whose salary is greater than 20000 GBP and […]
VB.NET and LINQ – Filter elements from object collection with Logical Operators
Here’s a sample code snippet demonstrating how to filter elements from a list of objects using the where clause using LINQ in VB.NET. This sample gets all the employees who salary is greater than 20000 GBP and age is greater than 22. How to Filter Employees List whose salary is greater than 20000 GBP and […]
VB.NET and Lambda – Filter elements from object collection using where clause
Here’s a sample code snippet demonstrating how to filter elements from a list of objects using the where clause using Lambda in VB.NET. This sample gets all the employees who salary is greater than 20000 GBP. How to Filter Employees List whose salary is greater than 20000 GBP using Lambda in VB.NET ? Output Employees […]
VB.NET and LINQ – Filter elements from object collection using where clause
Here’s a sample code snippet demonstrating how to filter elements from a list of objects using the where clause using LINQ in VB.NET. This sample gets all the employees who salary is greater than 20000 GBP. How to Filter Employees List whose salary is greater than 20000 GBP using LINQ in VB.NET ? Output Employees […]
VB.NET and Lambda – Finding all the elements of an integer array less than 35
Here’s a sample code snippet demonstrating how to find all the elements of an integer array that is less than 35 using Lambda expression in VB.NET. The Where keyword in VB.NET is used to filter the elements from a collection based on the specified criteria. How to find all the elements of an integer array […]
VB.NET and LINQ – Finding all the elements of an integer array less than 35
Here’s a sample code snippet demonstrating how to find all the elements of an integer array that is less than 35 using LINQ in Visual Basic.NET. The where keyword in VB.NET is used to filter the elements from a collection based on the specified criteria. How to find all the elements of an integer array […]
Json.NET & VB.NET – How to Serialize an Collection?
Do you want to serialize an collection in your VB.NET application?. Json.NET supports this functionality with ease. The Collection can be an Array , Dictionary or List. You need to simply pass collection to the JsonConvert.SerializeObject static method which would serialize the collection and return you the Json string. How to Serialize a Collection in […]
How to Get the Computer Name using VB.NET?
Below is a sample code snippet that demonstrates how to get the current computer name using VB.NET? How to Get the Computer Name using VB.NET?
How to Make Single Instance Application for VB.NET Application in Visual Studio 2012?
When developing a Windows Application in VB.NET, there are times when you want to make your application as single instance application. You can do that easily with just few steps in your VB.NET project. How to Make Single Instance Application for VB.NET Application in Visual Studio 2012? Launch Visual Studio 2012 and Open your VB.NET […]
How to Enable or Disable Visual Styles in your VB.NET Winforms Application?
You can enable or Disable the Visual Styles in your VB.NET Winforms Application by following the below steps. How to Enable or Disable Visual Styles in your VB.NET Winforms Application? 1. Launch Visual Studio 2013 and Open your VB.NET Project. 2. Right Click on the project and open the Project Properties. 3. In the Project […]