Click here to Skip to main content
15,441,629 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: WSO CCC OTD - 2022-08-16 Pin
Richard MacCutchan16-Aug-22 2:14
mveRichard MacCutchan16-Aug-22 2:14 
GeneralRe: WSO CCC OTD - 2022-08-16 Pin
DerekT-P16-Aug-22 3:00
professionalDerekT-P16-Aug-22 3:00 
GeneralRe: WSO CCC OTD - 2022-08-16 Pin
Richard MacCutchan16-Aug-22 3:11
mveRichard MacCutchan16-Aug-22 3:11 
GeneralRe: WSO CCC OTD - 2022-08-16 Pin
pkfox16-Aug-22 2:47
professionalpkfox16-Aug-22 2:47 
GeneralRe: WSO CCC OTD - 2022-08-16 - Crikey Pin
FreedMalloc16-Aug-22 11:35
MemberFreedMalloc16-Aug-22 11:35 
GeneralRe: WSO CCC OTD - 2022-08-16 - Crikey Pin
Greg Utas16-Aug-22 13:19
mveGreg Utas16-Aug-22 13:19 
GeneralRe: WSO CCC OTD - 2022-08-16 - Crikey Pin
pkfox16-Aug-22 21:45
professionalpkfox16-Aug-22 21:45 
GeneralVS 2022 a genuine wow moment Pin
dan!sh 15-Aug-22 21:57
professional dan!sh 15-Aug-22 21:57 
I was writing a little bit of code today to replace commas within double quotes enclosed text in a huge string. This string could have multiple segments of double quoted text. I had only written this bit
C#
// Replace all the commas that are between double quotes
char[] linechars = line.ToCharArray();
bool isInQuotes = false;

for (int i = 0; i < linechars.Length; i++)
{
    if (linechars[i] == '"')//This was predicted by Visual Studio

This IDE can read my code and comments and predict the next if statement. This is amazing.

P.S. Before someone points out miserable string handling, I really do not care about code quality. This is a one time use (quick or slow) and dirty utility.
"It is easy to decipher extraterrestrial signals after deciphering Javascript and VB6 themselves.", ISanti[^]

GeneralRe: VS 2022 a genuine wow moment Pin
pkfox15-Aug-22 22:09
professionalpkfox15-Aug-22 22:09 
GeneralRe: VS 2022 a genuine wow moment Pin
OriginalGriff15-Aug-22 22:10
mveOriginalGriff15-Aug-22 22:10 
GeneralRe: VS 2022 a genuine wow moment Pin
Kornfeld Eliyahu Peter15-Aug-22 22:26
professionalKornfeld Eliyahu Peter15-Aug-22 22:26 
GeneralRe: VS 2022 a genuine wow moment Pin
Dan Neely16-Aug-22 3:54
MemberDan Neely16-Aug-22 3:54 
GeneralRe: VS 2022 a genuine wow moment Pin
Member 11032317-Aug-22 3:33
MemberMember 11032317-Aug-22 3:33 
GeneralRe: VS 2022 a genuine wow moment Pin
Lance Milleson17-Aug-22 6:15
MemberLance Milleson17-Aug-22 6:15 
GeneralRe: VS 2022 a genuine wow moment Pin
Randor 15-Aug-22 22:44
professional Randor 15-Aug-22 22:44 
GeneralRe: VS 2022 a genuine wow moment Pin
Calin Cali15-Aug-22 22:48
MemberCalin Cali15-Aug-22 22:48 
GeneralRe: VS 2022 a genuine wow moment Pin
OriginalGriff16-Aug-22 0:00
mveOriginalGriff16-Aug-22 0:00 
GeneralRe: VS 2022 a genuine wow moment Pin
pkfox16-Aug-22 0:55
professionalpkfox16-Aug-22 0:55 
GeneralRe: VS 2022 a genuine wow moment Pin
Calin Cali16-Aug-22 1:33
MemberCalin Cali16-Aug-22 1:33 
GeneralRe: VS 2022 a genuine wow moment Pin
OriginalGriff16-Aug-22 1:56
mveOriginalGriff16-Aug-22 1:56 
General[edit]Re: VS 2022 a genuine wow moment Pin
Calin Cali16-Aug-22 8:15
MemberCalin Cali16-Aug-22 8:15 
GeneralRe: VS 2022 a genuine wow moment Pin
OriginalGriff16-Aug-22 8:24
mveOriginalGriff16-Aug-22 8:24 
GeneralRe: [edit]Re: VS 2022 a genuine wow moment[edited] Pin
OriginalGriff16-Aug-22 9:21
mveOriginalGriff16-Aug-22 9:21 
GeneralRe: [edit]Re: VS 2022 a genuine wow moment[edited] Pin
Calin Cali17-Aug-22 4:54
MemberCalin Cali17-Aug-22 4:54 
GeneralRe: [edit]Re: VS 2022 a genuine wow moment[edited] Pin
OriginalGriff17-Aug-22 5:56
mveOriginalGriff17-Aug-22 5: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.


Straw Poll

What topics would you like to learn more about?
Contributed by Marc Clifton.
  Results   5 votes