Quantcast
Channel: Answers for "Public variable giving me "null reference exception""
Viewing all articles
Browse latest Browse all 4

Answer by roamcel

$
0
0
For what I understand of your code, since you're not retrieving ItemInfo from a component, you need to declare its class as STATIC to be able to use it. Unfortunately I don't know the js syntax for static but on c# you write public static class ItemInfo { ...

Viewing all articles
Browse latest Browse all 4

Trending Articles



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