In F# what is the difference between an internal method and a private method.
I have a feeling that they are implemented the same, but mean something different.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
An
internalmethod can be accessed from any type (or function) in the same .NET assembly.A
privatemethod can be accessed only from the type where it was declared.Here is a simple snippet that shows the difference: