DateTimeOffset.AddMonths 메서드는 DateTimeOffset 개체에 지정된 개월 수를 더한 결과를 반환합니다. 이 메서드는 월 수를 추가하여 새로운 DateTimeOffset 개체를 생성하며, 원래 개체는 수정되지 않습니다. 반환된 개체는 원래 개체의 날짜 및 시간에 지정된 개월 수를 더한 값으로 설정됩니다. 이 메서드는 양수와 음수를 모두 사용할 수 있으며, 양수를 사용하면 앞으로, 음수를 사용하면 뒤로 이동합니다. 개월 수가 현재 월보다 더 크거나 작은 경우, 해당 월의 일 수가 지정된 개월 수에 영향을 받을 수 있습니다.
C# (CSharp) DateTimeOffset.AddMonths - 51개의 예제가 발견되었습니다. 이것들은 오픈소스 프로젝트에서 추출된 C# (CSharp)의 DateTimeOffset.AddMonths에 대한 실세계 최고 등급의 예제들입니다. 예제들을 평가하여 예제의 품질 향상에 도움을 줄 수 있습니다.