- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Sabid Ansari has Published 199 Articles
![Sabid Ansari](https://www.tutorialspoint.com/assets/profiles/634897/profile/60_3421633-1680760954.jpg)
Sabid Ansari
1K+ Views
Sorting a list of string names is a common task in programming, and the LINQ OrderBy() method in C# provides an easy and efficient way to do so. In this article, we will walk you through a C# program to sort a list of string names using the LINQ OrderBy() ... Read More
![Sabid Ansari](https://www.tutorialspoint.com/assets/profiles/634897/profile/60_3421633-1680760954.jpg)
Sabid Ansari
1K+ Views
Sorting a list of integers is a common task in programming, and the LINQ OrderBy() method in C# provides an easy and efficient way to do so. In this article, we'll walk you through a C# program to sort a list of integers using the LINQ OrderBy() method. What is ... Read More
![Sabid Ansari](https://www.tutorialspoint.com/assets/profiles/634897/profile/60_3421633-1680760954.jpg)
Sabid Ansari
824 Views
In many software development projects, there comes a point where it becomes necessary to sort a list of objects based on one or more properties of the objects. In C#, the LINQ (Language Integrated Query) library provides a powerful and easy-to-use way to sort lists of objects based on one ... Read More
![Sabid Ansari](https://www.tutorialspoint.com/assets/profiles/634897/profile/60_3421633-1680760954.jpg)
Sabid Ansari
263 Views
In C#, LINQ (Language Integrated Query) is a powerful tool that enables you to easily sort, filter, and manipulate data. In this article, we'll demonstrate how to use LINQ to sort a list of employees based on their salary in descending order and department in which they work. Sorting a ... Read More
![Sabid Ansari](https://www.tutorialspoint.com/assets/profiles/634897/profile/60_3421633-1680760954.jpg)
Sabid Ansari
537 Views
In C#, LINQ (Language Integrated Query) is a powerful tool that enables you to easily sort, filter, and manipulate data. In this article, we'll demonstrate how to use LINQ to sort a list of employees based on their salary and department. Sorting a List of Employees Based on Salary and ... Read More
![Sabid Ansari](https://www.tutorialspoint.com/assets/profiles/634897/profile/60_3421633-1680760954.jpg)
Sabid Ansari
6K+ Views
The GetEnvironmentVariable() method of the Environment class in C# is used to get the value of an environment variable. It is a useful method for retrieving system-wide and user-specific environment variables. In this article, we will discuss the usage of the GetEnvironmentVariable() method and see how to use it in ... Read More
![Sabid Ansari](https://www.tutorialspoint.com/assets/profiles/634897/profile/60_3421633-1680760954.jpg)
Sabid Ansari
957 Views
The Exists property in C# is a very useful property that checks whether any element in a collection matches a given condition. This property is a part of the List class in C# and returns a Boolean value indicating whether any element exists in the list that satisfies the specified ... Read More
![Sabid Ansari](https://www.tutorialspoint.com/assets/profiles/634897/profile/60_3421633-1680760954.jpg)
Sabid Ansari
137 Views
The Aggregate() method is a powerful LINQ method that allows you to perform a reduction operation on a sequence of elements. This method can be used to perform calculations on a collection of data, such as finding the sum, product, or maximum value of a set of numbers. In this ... Read More
![Sabid Ansari](https://www.tutorialspoint.com/assets/profiles/634897/profile/60_3421633-1680760954.jpg)
Sabid Ansari
216 Views
Searching for sub-directories in a given directory is a common task in many applications. In C#, we can use the Directory and DirectoryInfo classes provided by the System.IO namespace to perform this task. In this article, we will explore how to write a C# program to search for sub-directories in ... Read More
![Sabid Ansari](https://www.tutorialspoint.com/assets/profiles/634897/profile/60_3421633-1680760954.jpg)
Sabid Ansari
19K+ Views
Searching directories and listing files is a common task in many applications. In C#, we can use the Directory and File classes provided by the System.IO namespace to perform these tasks. In this article, we will explore how to write a C# program to search directories and list files. Method: ... Read More