How to write Case Laws in CS Examinations