Click here to Skip to main content
15,919,245 members
Home / Discussions / C#
   

C#

 
GeneralRe: Sliding Form Pin
padz14-Feb-08 15:55
padz14-Feb-08 15:55 
Questionproblem with interoperability Pin
jm2514-Feb-08 7:30
jm2514-Feb-08 7:30 
GeneralRe: problem with interoperability Pin
Skippums14-Feb-08 12:22
Skippums14-Feb-08 12:22 
QuestionWM_CONTEXTMENU ? Pin
god4k14-Feb-08 7:24
god4k14-Feb-08 7:24 
AnswerRe: WM_CONTEXTMENU ? Pin
new2pgrmg14-Feb-08 23:36
new2pgrmg14-Feb-08 23:36 
QuestionThread-safetiness of XmlSerializer Pin
Le centriste14-Feb-08 4:43
Le centriste14-Feb-08 4:43 
GeneralRe: Thread-safetiness of XmlSerializer Pin
Martin#14-Feb-08 5:18
Martin#14-Feb-08 5:18 
GeneralRe: Thread-safetiness of XmlSerializer Pin
led mike14-Feb-08 5:50
led mike14-Feb-08 5:50 
There are a few issues with what you posted

Le Centriste wrote:
since the XmlSerializer is a static member and more than one thread can call the static method


Double static? What is the point of having a static instance of the XmlSerializer if you have a static method that will be used?

Le Centriste wrote:
I want to provide a static method, member of the config class, that will take a file name and return the appropriate instance.


Based on that information alone, since a static method returns a new instance based on the specific input on each invocation there is no concurrency issue requiring synchronization. However I have no idea what else you may be doing.


led mike

GeneralRe: Thread-safetiness of XmlSerializer Pin
Le centriste14-Feb-08 6:02
Le centriste14-Feb-08 6:02 
GeneralRe: Thread-safetiness of XmlSerializer Pin
led mike14-Feb-08 8:34
led mike14-Feb-08 8:34 
GeneralRe: Thread-safetiness of XmlSerializer Pin
Le centriste14-Feb-08 8:40
Le centriste14-Feb-08 8:40 
GeneralRe: Thread-safetiness of XmlSerializer Pin
led mike14-Feb-08 9:03
led mike14-Feb-08 9:03 
GeneralRe: Thread-safetiness of XmlSerializer Pin
Le centriste14-Feb-08 9:11
Le centriste14-Feb-08 9:11 
GeneralRe: Thread-safetiness of XmlSerializer Pin
led mike14-Feb-08 9:21
led mike14-Feb-08 9:21 
GeneralRe: Thread-safetiness of XmlSerializer Pin
Le centriste14-Feb-08 9:25
Le centriste14-Feb-08 9:25 
GeneralGraph excel with C# Pin
JeremH14-Feb-08 4:34
JeremH14-Feb-08 4:34 
GeneralRe: Graph excel with C# Pin
Cwenee23-Sep-09 5:17
Cwenee23-Sep-09 5:17 
GeneralLoadProperties Pin
s3rro14-Feb-08 4:04
s3rro14-Feb-08 4:04 
GeneralRe: LoadProperties Pin
s3rro14-Feb-08 4:09
s3rro14-Feb-08 4:09 
GeneralRe: LoadProperties Pin
led mike14-Feb-08 4:34
led mike14-Feb-08 4:34 
GeneralC# Serial port communication Pin
Scalpa14-Feb-08 3:53
Scalpa14-Feb-08 3:53 
GeneralRe: C# Serial port communication Pin
DaveyM6914-Feb-08 4:14
professionalDaveyM6914-Feb-08 4:14 
GeneralRe: C# Serial port communication Pin
Scalpa14-Feb-08 4:24
Scalpa14-Feb-08 4:24 
GeneralRe: C# Serial port communication Pin
Luc Pattyn14-Feb-08 4:42
sitebuilderLuc Pattyn14-Feb-08 4:42 
GeneralRe: C# Serial port communication Pin
Scalpa14-Feb-08 5:22
Scalpa14-Feb-08 5:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.