Added Java example #18 and C# examples #19-23