Non Static Method Inside Static Method In C