PTC interview question

Design patterns, prime numbers problems, javascript and c# polymorphism