Nota
Pristup ovoj stranici zahteva autorizaciju. Možete pokušati da se prijavite ili promenite direktorijume.
Pristup ovoj stranici zahteva autorizaciju. Možete pokušati da promenite direktorijume.
The type 'type name' already contains a definition for 'identifier'
A class contains multiple declarations for identifiers with the same name at the same scope. To fix the error, rename the duplicate identifiers.
Example
The following sample generates CS0102.
// CS0102.cs
// compile with: /target:library
namespace MyApp
{
public class MyClass
{
string s = "Hello";
string s = "Goodbye"; // CS0102
public void GetString()
{
string s = "Hello again"; // method scope, no error
}
}
}
Saradnja sa nama na GitHub
Izvor za ovaj sadržaj može se naći na GitHub-u, gde takođe možete kreirati i pregledati probleme i zahteve za povlačenje. Za više informacija, pogledajte naš vodič za saradnike.