1 개요[ | ]
- Helper Class
- 헬퍼 클래스, 도우미 클래스
- 개발자의 편의를 위한 클래스
- 어떤 기능을 간편하게 수행하기 위해 사용한다.
- 유틸리티 클래스는 특수한 예이다.
2 예시[ | ]
C#
Copy
public static class PrependHelper
{
public static string MeowPrepend(string text)
{
return "Meow meow " + text + "!";
}
public static string WoofPrepend(string text)
{
return "Woof woof " + text + "!";
}
}
3 같이 보기[ | ]
4 참고[ | ]
편집자 Jmnote Jmnote bot
로그인하시면 댓글을 쓸 수 있습니다.