- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
foreach (var form1 in Volume.Form)
{
int nameCount = 0;
foreach (var form2 in Volume.Form)
{
if (form2.Name.Equals(form1.Name) && ++nameCount > 1)
{
throw new VolumeConfigurationException($"Form with name \"{form1.Name}\" already exists.");
}
}