Update a method in C#.
Add comment in java code.