Csharp

Two small changes that improve the C# speed by avoiding boxing.