DateTime.AddMonths 메서드는 DateTime 개체의 월 구성 요소에 지정된 달 수를 추가합니다. 반환 값은 초기 DateTime 개체와 동일한 연도 및 일 구성 요소를 가지고 있으며, 월 구성 요소만 증가하거나 감소합니다. 이 메서드를 사용하여 날짜에 월을 더하거나 뺄 수 있으며, 연도의 자동 조정도 이루어집니다.
C# (CSharp) DateTime.AddMonths - 40개의 예제가 발견되었습니다. 이것들은 오픈소스 프로젝트에서 추출된 C# (CSharp)의 DateTime.AddMonths 패키지로부터 peachpie에 대한 실세계 최고 등급의 예제들입니다. 예제들을 평가하여 예제의 품질 향상에 도움을 줄 수 있습니다.