>>Is there anything that can be done to allow LessThan + CharExpression + GreaterThan in code fragments
>
>Can you send me such a code by email so I can try it? Because, I just tested it back under the PRE tag, which should encapsulate the code portion, and I was able to post it.
Code below sent by email
You can send it alright and it shows alright - but not in preview mode
If you start a reply on this message - go to preview - you'll see
public static partial class ExtensionMethods
{
public static bool Between<T>(this T s, T s1, T s2) where T : IComparable<T>
{
return false;
}
public static bool InList<T>(this T s, params T[] list) where T : IEquatable<T>
{
return list.Contains(s);
}
}
}
Gregory