1
Answer

Error : The method or operation is not implemented.

David

David

15y
24k
1
Hey, I am getting an error message with my program
The method or operation is not implemented.

The error is coming from this piece of code:

private static changepassword changepassword
{
get { throw new NotImplementedException(); }
}


On the form load I have the code:
if (changepassword != null)
{
changepassword.Show();
}


This message started when I was playing around with a Class Diagram to make it easier to use the objects in different forms (If that helps) and I am using Visual Studio 2008.
If anyone can help would be great
Thanks!
Answers (1)
0
habib ullah

habib ullah

NA 116 2k 7y
sir please define the details of the above code
0
Manas Mohapatra

Manas Mohapatra

NA 29.3k 3.3m 7y
You can use Path.GetExtension()
 
string myFilePath = @"C:\Manas.txt";
string ext = Path.GetExtension(myFilePath); //.txt