In my C# project I have methods that call other methods like this:
options = ReferenceUtilities.GetMenuStatuses();
In my ReferenceUtilities I have coded:
internal static SelectList GetMenuStatuses()
{
throw new NotImplementedException();
}
But should I be using internal or private? I am not sure of the difference here.
internalmeans that the member can be accesed by other code in the same assembly.privatemeans that it can be accessed from other code in the same class.This has nothing to do with whether the method calls other methods.