Quantcast
Channel: Forum Pasja Informatyki - Najnowsze pytania
Viewing all articles
Browse latest Browse all 65225

[C#] ArrayList nie działają

$
0
0

Witam, mam kłopot po napisaniu jednej linijki kodu kompilator wywala mi 2 błędy.

Kod:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Tablice_Elastyczne
{
    class Program
    {
        static void Main(string[] args)
        {
            ArrayList lista = new ArrayList(); //tu wywala błąd
        }
    }
}

Błędy:

Severity    Code    Description    Project    File    Line    Suppression State
Error    CS0246    The type or namespace name 'ArrayList' could not be found (are you missing a using directive or an assembly reference?)    Line 13

(Oby dwa błędy są takie same) 


Viewing all articles
Browse latest Browse all 65225

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>