Passing ReadOnlyCollection using the AsReadonly method so that user ca(vikramlakhotia.com)
submitted by
Vineet2(435) 4 years, 7 months ago
This was new to me so as always I decided to share with all. The generic List has a method AsReadonly. The methods can be used if you want to pass the list as readonly. The return value of the method is a ReadOnlyCollection.
|category: Tips & Tricks
|Views: 2
tags:
Tips another
Everyones tags:
Your Tags: