Click here to Skip to main content
12,512,068 members (53,409 online)
Rate this:
 
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
sapna62364
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

There isn't any, really - even MSDN uses the two terms interchangeably.
  Permalink  
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
Rate this: bad
 
good
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.
  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 4

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
  Permalink  

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160929.1 | Last Updated 28 Dec 2012
Copyright © CodeProject, 1999-2016
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