Dealing with offsets in C# - C#