WIP
DirectOutput framework for virtual pinball cabinets WIP
Go to:
Overview 
CharExtensions.cs
Go to the documentation of this file.
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Text;
5 
6 
7  public static class CharExtensions
8  {
15  public static bool IsBetween(this char i, char MinValue, char MaxValue)
16  {
17  return (i >= MinValue && i <= MaxValue);
18  }
19 
20 
26  public static char ToUpper(this char i) {
27  return char.ToUpper(i);
28  }
29 
35  public static char ToUpperInvariant(this char i)
36  {
37  return char.ToUpperInvariant(i);
38  }
39 
45  public static char ToLower(this char i)
46  {
47  return char.ToLower(i);
48  }
54  public static char ToLowerInvariant(this char i)
55  {
56  return char.ToLowerInvariant(i);
57 
58  }
59  }
60