Click here to Skip to main content
11,797,355 members (79,443 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: .NET4
please answer this question.. any article or descriptive answer would work better.
Posted 24-Feb-12 20:46pm
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

There isn't any, really - even MSDN uses the two terms interchangeably.
sapna62 at 25-Feb-12 3:01am
thnx!! it worked...
sapna62 at 25-Feb-12 7:05am
OriginalGriff : i have few more questions
what is LINQ in .net4
and difference between CLS and CTS.
OriginalGriff at 25-Feb-12 8:36am
Wiki on 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
Rate this: bad
Please Sign up or sign in to vote.

Solution 3

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.
Rate this: bad
Please Sign up or sign in to vote.

Solution 4

The ECMA-334 C# Spec[^] uses the term in the following way:

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[^].


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

  Print Answers RSS
0 CPallini 475
1 Maciej Los 370
2 OriginalGriff 363
3 Abhinav S 344
4 Andy Lanng 296
0 OriginalGriff 2,092
1 Maciej Los 1,760
2 KrunalRohit 1,436
3 CPallini 1,245
4 ppolymorphe 893

Advertise | Privacy | Mobile
Web03 | 2.8.151002.1 | Last Updated 28 Dec 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100