WordPress database error: [Table './ay6u3nor6dat6ba1/kn6_ayu1n9k4_5_actionscheduler_actions' is marked as crashed and last (automatic?) repair failed]
SELECT a.action_id FROM kn6_ayu1n9k4_5_actionscheduler_actions a WHERE 1=1 AND a.hook='aioseo_send_usage_data' AND a.status IN ('in-progress') ORDER BY a.scheduled_date_gmt ASC LIMIT 0, 1

WordPress database error: [Table './ay6u3nor6dat6ba1/kn6_ayu1n9k4_5_actionscheduler_actions' is marked as crashed and last (automatic?) repair failed]
SELECT a.action_id FROM kn6_ayu1n9k4_5_actionscheduler_actions a WHERE 1=1 AND a.hook='aioseo_send_usage_data' AND a.status IN ('pending') ORDER BY a.scheduled_date_gmt ASC LIMIT 0, 1

ArrayList in Visual Basic | Loop and Break

ArrayList in Visual Basic

Collections are used to add/delete elements presented like and array but size may vary. So in collections size of the array get changed automatically when we add or delete any element. ArrayList is one of the simplest collections that .NET provides.

Example

Module Module1

    Sub Main()

        Dim DynamicList As New ArrayList()

        DynamicList.Add("first")
        DynamicList.Add("Second")
        DynamicList.Add("Third")

        ' retreiving list
        For Each a In DynamicList
            Console.WriteLine(a)
        Next

        DynamicList.RemoveAt(1) ' removing element at index 1

        Console.WriteLine("------------after deleting second element----------")

        For Each a In DynamicList
            Console.WriteLine(a)
        Next

        Console.ReadLine()

    End Sub

End Module

Output

first
Second
Third
————after deleting second element———-
first
Third

Share

You may also like...