The name 'List' does not denote a valid type ('not found')? (88271)

These comes in Java Script Please help me any one

Where in your code is List declared?

1 Answer

1

If you mean generic List class, defined inside System.Collections.Generic namespace, then you probably haven’t imported this namespace. You have to include

import System.Collections.Generic;

at the beginning of your script.

@ramjigeddam - I received an email stating that you accepted the answer, but it looks like you removed the accepted status instantly. If the answer doesn't fully answer your question, feel free to ask for additional info.