Whetstone Class reference
Whetstone Class reference
Whetstone
WhetStone Namespaces
WhetStone.Looping
longestCommonPrefix Class
longestCommonPrefix Methods
LongestCommonPrefix Method
LongestCommonPrefix(T) Method (IEnumerable(IEnumerable(T)))
LongestCommonPrefix(T) Method (IEnumerable(IEnumerable(T)), IEqualityComparer(T))
LongestCommonPrefix(T) Method (IEnumerable(T), IEnumerable(T))
LongestCommonPrefix(T) Method (IEnumerable(T), IEnumerable(T), IEqualityComparer(T))
longestCommonPrefix
LongestCommonPrefix
T
Method (IEnumerable
IEnumerable
T
)
Get the longest common prefix of an
IEnumerable
T
or
IEnumerable
T
.
Namespace:
WhetStone.Looping
Assembly:
WhetStone (in WhetStone.dll) Version: 1.0.4.0 (1.0.0.0)
Syntax
C#
Copy
public
static
IEnumerable
<T>
LongestCommonPrefix
<T>(
this
IEnumerable
<
IEnumerable
<T>>
this
)
Parameters
this
Type:
System.Collections.Generic
IEnumerable
IEnumerable
T
The
IEnumerable
T
s to check.
Type Parameters
T
The type of the
IEnumerable
T
s.
Return Value
Type:
IEnumerable
T
The Longest common prefix shared by all of
this
.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IEnumerable
IEnumerable
T
. 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)
.
See Also
Reference
longestCommonPrefix Class
LongestCommonPrefix Overload
WhetStone.Looping Namespace