Javatpoint Logo
Javatpoint Logo

LINQ AsEnumrable() Method

In LINQ, AsEnumerble() method is used to convert the specific type of given list to its IEnumerable() equivalent type.

Syntax of LINQ AsEnumerable() Method

C# Code

In the above syntax, we are converting the list of "numarray" to IEnumerable type.

Example of LINQ AsEnumerable() method

Here is the example of using the LINQ AsEnumerable method to convert the list to IEnumerable.

In the above example, we are converting the list of "NumArray" to IEnumerable type by using the AsEnumerable method.


LINQ AsEnumrable() Method

Youtube For Videos Join Our Youtube Channel: Join Now


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Trending Technologies

B.Tech / MCA