© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
13 replies
zeqd

❔ XML documentation

Hi guys. Who can check for the correctness of writing XML documentation (there are a couple of lines of code)
/// <summary>Вычисляет будущую стоимость инвестиции на основе введенных данных.</summary>
/// <param name="userInput">Строка ввода, содержащая сумму, процентную ставку и срок инвестиции.</param>
/// <returns>Накопившаяся сумма на момент окончания вклада.</returns>
public static double Calculate(string userInput)
{
string[] inputParts = userInput.Split(' ');
double.TryParse(inputParts[0], out var Summ);
double.TryParse(inputParts[1], out var Percent);
int.TryParse(inputParts[2], out var TermMonth);
return Summ * Math.Pow((1 + ((Percent / 100) / 12)), TermMonth);
}
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

❔ API Documentation Generator Tool for XML comments?
C#CC# / help
3y ago
Generated assembly with xml file which contains all documentation
C#CC# / help
15mo ago
❔ xml
C#CC# / help
4y ago
Openapi to have XML documentation of the properties and endpoints.
C#CC# / help
14mo ago