Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
4.00/5 (3 votes)
See more:
please answer this question.. any article or descriptive answer would work better.
Posted

There isn't any, really - even MSDN uses the two terms interchangeably.
 
Share this answer
 
Comments
sapna62 25-Feb-12 3:01am    
thnx!! it worked...
sapna62 25-Feb-12 7:05am    
OriginalGriff : i have few more questions
what is LINQ in .net4
and difference between CLS and CTS.
OriginalGriff 25-Feb-12 8:36am    
Wiki on Linq: http://en.wikipedia.org/wiki/LINQ

CTS (Common Type System) CTS describes how types are declared, used and managed in the runtime and facilitates cross-language integration, type safety, and high performance code execution.

CLS (Common Language Specification) CLS is an agreement among language designers and class library designers to use a common subset of basic language features that all languages have to follow.

CLS is a subset of CTS
Access Specifiers specifies the level of visibility of the method or object (i.e., the extent to which it is accessible), where as Access Modifier specifies whether the method can be extended (i.e., can participate in Inheritance) or not.
 
Share this answer
 
The ECMA-334 C# Spec[^] uses the term in the following way:

Quote:
17.2.3 Access modifiers
A class-member-declaration can have any one of the five possible kinds of declared accessibility (§10.5.1):
public, protected internal, protected, internal, or private. Except for the protected
internal combination, it is a compile-time error to specify more than one access modifier. When a classmember-
declaration does not include any access modifiers, private is assumed.



In the spec, there is no mentioning of access specifier.
See also C# 1.0/2.0/3.0/4.0 Syntax[^].

Cheers
Andi
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900