---
title: "Searching records in array using LINQ."  
description: "Searching records in array using LINQ."  
author: "James Smith"  
published: 2011-08-12  
updated: 2011-08-12  
canonical: https://www.mindstick.com/forum/283/searching-records-in-array-using-linq  
category: "c#"  
tags: ["c#"]  
reading_time: 1 minute  

---

# Searching records in array using LINQ.

Hi...\
I want to [search](https://www.mindstick.com/articles/65368/best-smo-services-company-in-hyderabad-improve-search-rankings) particular record using LINQ. I have a [string array](https://www.mindstick.com/forum/12803/check-for-any-item-in-string-array) of [Employee](https://www.mindstick.com/articles/85431/remote-employee-training-tips-tricks) which have certain values. I want that if particular [records](https://www.mindstick.com/forum/34640/how-to-create-a-stored-procedure-for-display-all-records) exist in array then that record comes in string [variable](https://www.mindstick.com/articles/1807/objective-c-data-types-variables-object-creation) otherwise blank is assign. How can I perform this task.\
\
Thanks.

## Replies

### Reply by Anonymous User

Hi James,\
You can use following link to solve your problem,\
\
http://www.mindstick.com/Blog/226/I%20LINQ%20to%20Array\
\
This link might be useful for you.\
\
Thanks.


---

Original Source: https://www.mindstick.com/forum/283/searching-records-in-array-using-linq

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
