Click here to Skip to main content
15,565,020 members
Home / Discussions / C#
   

C#

 
GeneralRe: spliting sentence on the basis of conjunctions Pin
KhanKtk2-Apr-14 1:44
KhanKtk2-Apr-14 1:44 
AnswerRe: spliting sentence on the basis of conjunctions Pin
Bernhard Hiller1-Apr-14 21:49
Bernhard Hiller1-Apr-14 21:49 
GeneralRe: spliting sentence on the basis of conjunctions Pin
KhanKtk1-Apr-14 23:50
KhanKtk1-Apr-14 23:50 
GeneralRe: spliting sentence on the basis of conjunctions Pin
KhanKtk1-Apr-14 23:53
KhanKtk1-Apr-14 23:53 
GeneralRe: spliting sentence on the basis of conjunctions Pin
Bernhard2-Apr-14 0:09
Bernhard2-Apr-14 0:09 
AnswerRe: spliting sentence on the basis of conjunctions Pin
_Maxxx_2-Apr-14 21:13
professional_Maxxx_2-Apr-14 21:13 
QuestionConvert Properties in vb6 to C# Pin
Jimmy Beh1-Apr-14 18:01
Jimmy Beh1-Apr-14 18:01 
AnswerRe: Convert Properties in vb6 to C# Pin
Wayne Gaylard1-Apr-14 20:32
professionalWayne Gaylard1-Apr-14 20:32 
In C# you can create a Property in multiple ways :
Full blown Property :
C#
private string testString;
public string TestString
{
    get
    {
        return testString;
    }
    set
    {
        testString = value;
        //Generally when you use full blown properties
        //you do so because you need to do some sort of
        //validation or other testing or to set other 
        //properties or fields as well
    }
}

Or you can use Auto Implemented Properties:
C#
public string TestString { get; set; };


For a good explanation of C# properties see the MSDN page here[^]
Everyone dies - but not everyone lives

GeneralRe: Convert Properties in vb6 to C# Pin
Jimmy Beh1-Apr-14 21:28
Jimmy Beh1-Apr-14 21:28 
AnswerRe: Convert Properties in vb6 to C# Pin
Bernhard Hiller1-Apr-14 21:54
Bernhard Hiller1-Apr-14 21:54 
Questionhow can i connect to microsoft access database Pin
Member 104662021-Apr-14 10:23
Member 104662021-Apr-14 10:23 
AnswerRe: how can i connect to microsoft access database Pin
Kornfeld Eliyahu Peter1-Apr-14 12:05
professionalKornfeld Eliyahu Peter1-Apr-14 12:05 
AnswerRe: how can i connect to microsoft access database Pin
Sivaraman Dhamodharan1-Apr-14 20:14
Sivaraman Dhamodharan1-Apr-14 20:14 
AnswerRe: how can i connect to microsoft access database Pin
V.2-Apr-14 3:01
professionalV.2-Apr-14 3:01 
AnswerRe: how can i connect to microsoft access database Pin
Hexa How2-Apr-14 21:41
Hexa How2-Apr-14 21:41 
QuestionMultiple try blocks in c# 2.0 Pin
ramki481-Apr-14 3:35
ramki481-Apr-14 3:35 
AnswerRe: Multiple try blocks in c# 2.0 Pin
Eddy Vluggen1-Apr-14 4:04
professionalEddy Vluggen1-Apr-14 4:04 
GeneralRe: Multiple try blocks in c# 2.0 Pin
OriginalGriff1-Apr-14 5:47
mvaOriginalGriff1-Apr-14 5:47 
GeneralRe: Multiple try blocks in c# 2.0 Pin
Rob Philpott1-Apr-14 6:18
Rob Philpott1-Apr-14 6:18 
GeneralRe: Multiple try blocks in c# 2.0 Pin
OriginalGriff1-Apr-14 6:38
mvaOriginalGriff1-Apr-14 6:38 
GeneralRe: Multiple try blocks in c# 2.0 Pin
Rob Philpott1-Apr-14 6:46
Rob Philpott1-Apr-14 6:46 
GeneralRe: Multiple try blocks in c# 2.0 Pin
Eddy Vluggen1-Apr-14 7:44
professionalEddy Vluggen1-Apr-14 7:44 
GeneralRe: Multiple try blocks in c# 2.0 Pin
Rob Philpott1-Apr-14 7:51
Rob Philpott1-Apr-14 7:51 
GeneralRe: Multiple try blocks in c# 2.0 Pin
Eddy Vluggen1-Apr-14 10:11
professionalEddy Vluggen1-Apr-14 10:11 
GeneralRe: Multiple try blocks in c# 2.0 Pin
Eddy Vluggen1-Apr-14 7:56
professionalEddy Vluggen1-Apr-14 7:56 

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.