Teradyne Interview Question

Write some C and C# code.