Click here to Skip to main content
16,005,389 members
Home / Discussions / C#
   

C#

 
GeneralRe: Changing the datatype of strings Pin
minnie mouse4-Dec-06 21:13
minnie mouse4-Dec-06 21:13 
AnswerRe: Changing the datatype of strings Pin
KeesVer4-Dec-06 1:11
KeesVer4-Dec-06 1:11 
QuestionMenu Events Pin
Mark F.3-Dec-06 9:48
Mark F.3-Dec-06 9:48 
AnswerRe: Menu Events Pin
mav.northwind3-Dec-06 10:09
mav.northwind3-Dec-06 10:09 
Questionsearch in access database Pin
suma123823-Dec-06 7:27
suma123823-Dec-06 7:27 
QuestionSynchronized in C# Pin
gaotter3-Dec-06 6:30
gaotter3-Dec-06 6:30 
AnswerRe: Synchronized in C# Pin
Nader Elshehabi3-Dec-06 8:20
Nader Elshehabi3-Dec-06 8:20 
AnswerRe: Synchronized in C# Pin
Judah Gabriel Himango3-Dec-06 12:24
sponsorJudah Gabriel Himango3-Dec-06 12:24 
You can accomplish the same with something like this:

using System.Runtime.CompilerServices;

...

[MethodImpl(MethodImplOptions.Synchronized)]
void MySychronizedMethod()
{
}


Typically, C# synchronization is done with the lock keyword:

lock(someObj)
{
   ...
}




Tech, life, family, faith: Give me a visit.
I'm currently blogging about: God-as-Judge, God-as-Forgiver
The apostle Paul, modernly speaking: Epistles of Paul

Judah Himango


QuestionSyntax error in INSERT INTO statement. Pin
VirtualG3-Dec-06 5:54
VirtualG3-Dec-06 5:54 
AnswerRe: Syntax error in INSERT INTO statement. Pin
Guffa3-Dec-06 7:28
Guffa3-Dec-06 7:28 
GeneralRe: Syntax error in INSERT INTO statement. Pin
VirtualG3-Dec-06 8:55
VirtualG3-Dec-06 8:55 
QuestionFiltering the Gridview Pin
fahiemulleh3-Dec-06 4:31
fahiemulleh3-Dec-06 4:31 
QuestionDOM class Pin
h@s@n3-Dec-06 3:38
h@s@n3-Dec-06 3:38 
AnswerRe: DOM class Pin
George L. Jackson3-Dec-06 4:40
George L. Jackson3-Dec-06 4:40 
Questionpublic variable Pin
microuser_20003-Dec-06 3:34
microuser_20003-Dec-06 3:34 
AnswerRe: public variable Pin
George L. Jackson3-Dec-06 4:17
George L. Jackson3-Dec-06 4:17 
AnswerRe: public variable Pin
CPallini3-Dec-06 6:50
mveCPallini3-Dec-06 6:50 
Questioncode to make enable button in c#.net Pin
ursbuddy3-Dec-06 0:47
ursbuddy3-Dec-06 0:47 
AnswerRe: code to make enable button in c#.net Pin
Christian Graus3-Dec-06 0:51
protectorChristian Graus3-Dec-06 0:51 
AnswerRe: code to make enable button in c#.net Pin
kourvoisier3-Dec-06 12:30
kourvoisier3-Dec-06 12:30 
Questionproblem for Security in Sql 2005 Express. Pin
hdv2122-Dec-06 23:21
hdv2122-Dec-06 23:21 
AnswerRe: problem for Security in Sql 2005 Express. Pin
minnie mouse3-Dec-06 11:53
minnie mouse3-Dec-06 11:53 
QuestionHow to create the console of editing of the register on C#? Pin
Andrey Azarov2-Dec-06 23:16
Andrey Azarov2-Dec-06 23:16 
AnswerRe: How to create the console of editing of the register on C#? Pin
Christian Graus2-Dec-06 23:28
protectorChristian Graus2-Dec-06 23:28 
GeneralRe: How to create the console of editing of the register on C#? Pin
Andrey Azarov3-Dec-06 1:15
Andrey Azarov3-Dec-06 1:15 

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.