Geotab Interview Question

OOP, testing string in c#