I am new to C# and modifying my first big program. I keep getting the following and and I am unsure how to New it up your help would be greatly appreciated
baseErrorCodes = New List(Of String)()
Dim errorCodeDescription As String = String.Empty
Dim baseCode As String
For Each errorCode As String In errorCodes
Dim matchingBusinessRuleByResponseCode As BusinessRule = Me.DomainData.Common.BusinessRules _
.FirstOrDefault(Function(businessRule) (businessRule.ApplicationSource = Me.BusinessRuleSource _
OrElse businessRule.ApplicationSource = "Maryland") _
AndAlso businessRule.ResponseCode = errorCode)
baseCode = errorCode.Split("-")(0)
If (matchingBusinessRuleByResponseCode IsNot Nothing) Then
If (String.IsNullOrWhiteSpace(fieldSource)) Then
fieldSource = matchingBusinessRuleByResponseCode.FieldSource
End If
Error Message