Click here to Skip to main content
15,892,005 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Visual Basic.NET Exceeded C# Popularity in TIOBE in July 2018 Pin
CodeWraith23-Jul-18 1:47
CodeWraith23-Jul-18 1:47 
GeneralRe: Visual Basic.NET Exceeded C# Popularity in TIOBE in July 2018 Pin
Nathan Minier23-Jul-18 1:57
professionalNathan Minier23-Jul-18 1:57 
GeneralRe: Visual Basic.NET Exceeded C# Popularity in TIOBE in July 2018 Pin
CodeWraith23-Jul-18 2:16
CodeWraith23-Jul-18 2:16 
GeneralRe: Visual Basic.NET Exceeded C# Popularity in TIOBE in July 2018 Pin
Nathan Minier23-Jul-18 2:25
professionalNathan Minier23-Jul-18 2:25 
GeneralRe: Visual Basic.NET Exceeded C# Popularity in TIOBE in July 2018 Pin
georani21-Jul-18 2:49
georani21-Jul-18 2:49 
GeneralRe: Visual Basic.NET Exceeded C# Popularity in TIOBE in July 2018 Pin
Richard MacCutchan21-Jul-18 4:04
mveRichard MacCutchan21-Jul-18 4:04 
GeneralRe: Visual Basic.NET Exceeded C# Popularity in TIOBE in July 2018 Pin
OriginalGriff21-Jul-18 4:40
mveOriginalGriff21-Jul-18 4:40 
GeneralRe: Visual Basic.NET Exceeded C# Popularity in TIOBE in July 2018 Pin
georani21-Jul-18 5:07
georani21-Jul-18 5:07 
Done:

Public Class MyClass1
    Private _Mynumber As Integer = 3

    Public Property Mynumber() As Integer
        Get
            Return _Mynumber
        End Get
        Private Set(value As Integer)
            _Mynumber = value
        End Set
    End Property
End Class


This C# equivalent:

public class MyClass1
{
	public int Mynumber {get; private set;} = 3;
}

It's shorter, but not fun or more readable.




modified 21-Jul-18 11:35am.

GeneralRe: Visual Basic.NET Exceeded C# Popularity in TIOBE in July 2018 PinPopular
OriginalGriff21-Jul-18 5:15
mveOriginalGriff21-Jul-18 5:15 
GeneralRe: Visual Basic.NET Exceeded C# Popularity in TIOBE in July 2018 Pin
georani21-Jul-18 5:31
georani21-Jul-18 5:31 
GeneralRe: Visual Basic.NET Exceeded C# Popularity in TIOBE in July 2018 Pin
OriginalGriff21-Jul-18 5:57
mveOriginalGriff21-Jul-18 5:57 
GeneralRe: Visual Basic.NET Exceeded C# Popularity in TIOBE in July 2018 Pin
André Pereira23-Jul-18 0:12
André Pereira23-Jul-18 0:12 
GeneralRe: Visual Basic.NET Exceeded C# Popularity in TIOBE in July 2018 PinPopular
Randor 20-Jul-18 22:08
professional Randor 20-Jul-18 22:08 
GeneralRe: Visual Basic.NET Exceeded C# Popularity in TIOBE in July 2018 Pin
OriginalGriff20-Jul-18 22:12
mveOriginalGriff20-Jul-18 22:12 
JokeRe: Visual Basic.NET Exceeded C# Popularity in TIOBE in July 2018 Pin
Randor 20-Jul-18 22:34
professional Randor 20-Jul-18 22:34 
GeneralRe: Visual Basic.NET Exceeded C# Popularity in TIOBE in July 2018 Pin
OriginalGriff20-Jul-18 22:46
mveOriginalGriff20-Jul-18 22:46 
GeneralRe: Visual Basic.NET Exceeded C# Popularity in TIOBE in July 2018 Pin
Sander Rossel22-Jul-18 3:46
professionalSander Rossel22-Jul-18 3:46 
GeneralRe: Visual Basic.NET Exceeded C# Popularity in TIOBE in July 2018 Pin
Eddy Vluggen20-Jul-18 23:34
professionalEddy Vluggen20-Jul-18 23:34 
GeneralRe: Visual Basic.NET Exceeded C# Popularity in TIOBE in July 2018 Pin
georani21-Jul-18 5:17
georani21-Jul-18 5:17 
GeneralRe: Visual Basic.NET Exceeded C# Popularity in TIOBE in July 2018 Pin
Eddy Vluggen21-Jul-18 5:32
professionalEddy Vluggen21-Jul-18 5:32 
GeneralRe: Visual Basic.NET Exceeded C# Popularity in TIOBE in July 2018 Pin
georani21-Jul-18 5:42
georani21-Jul-18 5:42 
GeneralRe: Visual Basic.NET Exceeded C# Popularity in TIOBE in July 2018 Pin
Eddy Vluggen21-Jul-18 23:05
professionalEddy Vluggen21-Jul-18 23:05 
GeneralRe: Visual Basic.NET Exceeded C# Popularity in TIOBE in July 2018 Pin
BryanFazekas23-Jul-18 1:27
BryanFazekas23-Jul-18 1:27 
GeneralRe: Visual Basic.NET Exceeded C# Popularity in TIOBE in July 2018 Pin
Rajesh R Subramanian21-Jul-18 3:46
professionalRajesh R Subramanian21-Jul-18 3:46 
GeneralRe: Visual Basic.NET Exceeded C# Popularity in TIOBE in July 2018 Pin
kmoorevs21-Jul-18 4:35
kmoorevs21-Jul-18 4:35 

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.