Class file name might have illegal characters like single quote, double quote, tilt etc. Because of that you are seeing that error. Avoid special characters and symbols.
Try to use Alpha & numeric characters as class names or file names while adding using visual studio.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…