| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Prepends a single value to a sequence.
Namespace: CSharpx
Assembly: CommandLine (in CommandLine.dll) Version: 0.0.0
C#
public static IEnumerable<TSource> Prepend<TSource>(
this IEnumerable<TSource> source,
TSource value
)VB
<ExtensionAttribute>
Public Shared Function Prepend(Of TSource) (
source As IEnumerable(Of TSource),
value As TSource
) As IEnumerable(Of TSource)C++
public:
[ExtensionAttribute]
generic<typename TSource>
static IEnumerable<TSource>^ Prepend(
IEnumerable<TSource>^ source,
TSource value
)F#
[<ExtensionAttribute>]
static member Prepend :
source : IEnumerable<'TSource> *
value : 'TSource -> IEnumerable<'TSource>
Type: IEnumerable(TSource)
In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerable(TSource). When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
CommandLineParser Class Library V2.6
| Back | FazBrowse Home | New Git URL |