Hooked on LINQ

Hooked on LINQ - Developers' Wiki
for .NET Language Integrated Query

Quick Search

Advanced Search »

Empty Operator

Modified: 2007/01/16 02:56 by t_magennis - Categorized as: LINQ to Objects
Edit

Introduction

The Empty operator returns an empty sequence of a given type.

Edit

Method Signatures

public static IEnumerable<TResult> Empty<TResult>()



Edit

Exceptions

None.

Edit

Pseudo-Code

Return new TResult[0];

Edit

Loop Count

None. Static generation method.

Edit

Code Samples

TODO:Needs code sample.

If you would like to comment on this page, click on the Discuss button located on the top-right of each page. Feel free to edit any mistakes or ommissions you find. If you have an objection or find in-appropriate content then contact the administrator. This website is not affiliated with Microsoft®, all content and opinions are those of the specific author and some advice, solutions and article may contain un-intentional errors - please use care. Powered by ScrewTurn Wiki version 2.0.33. Some of the icons created by FamFamFam.