Sample:

resgen D:\dev\myResources.resx d:\dev\Resources.resources /str:c#,Namespace1,myClass,d:\dev\MyFiles.cs

ref: http://www.c-sharpcorner.com/UploadFile/yougerthen/205232008052651AM/2.aspx