I am having a condition as follows
if (fedId == ftax)
{
index = 0;
string strEntryDets = string.Empty;
strEntryDets = EntryDetail().ToString();
sbBatchHeaderFile.AppendLine(strEntryDets);
}
When this statement is true i should increment the index value starting from zero can any one give me an idea
I don’t know what is your iteration logic and when you are using all this stuff thats why I’m giving this suggestion.
Add this class to your application:
In your code use as this :