नोट
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप साइन इन करने या निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
इस पृष्ठ तक पहुंच के लिए प्राधिकरण की आवश्यकता होती है। आप निर्देशिकाएँ बदलने का प्रयास कर सकते हैं।
'class' : a class-constructor cannot have a return type
Remarks
Class constructors cannot have return types.
Example
The following example generates C3264:
// C3264_2.cpp
// compile with: /clr
ref class X {
public:
static int X() { // C3264
}
/* use the code below to resolve the error
static X() {
}
*/
};
int main() {
}