String.Format()
메서드에서이 오류가 발생하고 왜 모든 것이 나에게 좋을지 모르겠습니까?String.Format() - 입력 문자열의 형식이 올바르지 않음
string fontface = "";
foreach(...)
{
fontface = String.Format(@"{3}
@font-face {
font-family: '{0}';
src: url('{0}.eot');
src: url('{0}.eot') format('embedded-opentype'),
url('{0}.woff2') format('woff2'),
url('{0}.woff') format('woff'),
url('{0}.ttf') format('truetype'),
url('{0}.svg#{0}') format('svg');
font-weight:{1};
font-style:{2};
}"
, family, weight, style, fontface);
}
@ZeeTee,'@ font-face' 다음에'{' – Hassan
을 사용 중입니다. –