I am using a Public Enum in a Class Library that is used within different classes within the library. I don't want it exposed to any applications that use the Class Library. I tried changing it to Private, but it says it has to reside within a Class to do that (which I can't do because it is used by many classes). How do I 'hide' it?
EDIT: Sorry about no code. Here's some code from the Class Library (I know it's vb, but I figure c# knowledge will be applicable?)
Public Enum HttpMethod
[Get]
Post
Put
End Enum
Public Class WebClientProcessor
Public Function HttpAction(netquery As String, method As HttpMethod, Optional json As String = Nothing) As WebClientResponse
' Stuff here
End Function
End Class
Public Class Main
Public Sub DoStuff
Dim wcp As New WebClientProcessor
wcr = wcp.HttpAction(StringOp.UrlCombine(_baseSiteURL, _licenseEndpointsMap(RequestType), LicenseKey), HttpMethod.Get)
End Sub
End Class