Quantcast
Channel: .NET Framework Class Libraries forum
Viewing all articles
Browse latest Browse all 8156

Add a new feature in .NET class library——“Const Class”

$
0
0

Hi all:

Sometimes I have to define a lot of consts to be shared and used everywhere in my project. So I define a class with quite a lot of const values.

But what frastrates me is that I can get something like Equals,ToString()……I know that I can use something like [Editbrowsable(Editbrowsable.Never)]……, this ONLY works in a different kind of assembly. But I wanna this to be like a enum, which ONLY shows me a list of values without showing inherited functions.

Notice that this is a suggestion both should be changed in VS or .NET class library (a new feature may effect .net library), so I send the issue here.


ASP.NET Forum
Other Discussion Forums
FreeRice Donate
Issues to report
Free Tech Books Search and Download


Viewing all articles
Browse latest Browse all 8156

Trending Articles



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