2.What is wrong with the following code?
C#
List<string> collection = new List<string>();// do some work to put a lot of items into the liststring valueToWrite;for(int loopCounter = 0; loopCounter <= collection.Count; loopCounter++){ valueToWrite += collection[loop]; // do some more work}
VB
Dim collection As New List(Of String)’ do some work to put a lot of items into the listDim valueToWrite as StringFor loopCounter As Integer = 0 To collection.Count valueToWrite += collection(loop) ‘ do some more workNext
Expert Answer
An answer will be send to you shortly. . .
PayPal Gateway not configured
PayPal Gateway not configured