If I have a static method to convert one object to another object, is this method thread safe in C#?
public static AnotherDataClass Convert(MyDataClass target)
{
AnotherDataClass val = new AnotherDataClass();
// read infomration from target
// put information into val;
return val;
}
Just want to make the question more clear....
when invoke the convert method.... we can assume that target is not going be be modified. since the Convert method only interested in the "attrubite" of target