Categories
7.0 7.5 C#.NET Microsoft VB.NET Visual Studio Windows Phone

Resource – “Inconsistent accessibility: property type ‘…’ is less accessible than property ‘…'”

Inconsistent accessibility: property type ‘…’ is less accessible than property ‘…’

in Italian

Accessibilità incoerente: il tipo di proprietà ‘…’ è meno accessibile della proprietà ‘…’

Solution:

Open your Resource file and set Access Modifier to Public

Resource File Access Modifier for Inconsistent accessibility error

Did my solution solve your problem? Leave a reply.

Categories
7.0 7.5 C#.NET Microsoft VB.NET Visual Studio Windows Phone

C#.NET – “The name ‘New’ does not exist in the current context”

The name ‘New’ does not exist in the current context

In Italian

Il nome ‘New’ non esiste nel contesto corrente

Cause:

Probably you copied VB code

Solution:

In C# new is written with lower case n.

Did my solution solve your problem? Leave a reply.