Muhammad Hammad
Muhammad Hammad
CC#
Created by Muhammad Hammad on 11/3/2024 in #help
sqlite table question
thanks for informing I am gonna look for this term and learn it, probably useful thing!
12 replies
CC#
Created by Muhammad Hammad on 11/3/2024 in #help
sqlite table question
@FusedQyou thanks I got your point yes 2 tables different tables will be a better option
12 replies
CC#
Created by GreenMile on 11/2/2024 in #help
Menu Validation 'char input'
if(userInput==1 |.| userInput==2 |.|userInput==3|.| userInput==4)
{
//input is valid do the work here
}
if(userInput==1 |.| userInput==2 |.|userInput==3|.| userInput==4)
{
//input is valid do the work here
}
12 replies
CC#
Created by GreenMile on 11/2/2024 in #help
Menu Validation 'char input'
just do if char=='1' or use switch to check cases from 1 to 4 and any other input will be invalid
12 replies
CC#
Created by Muhammad Hammad on 10/5/2024 in #help
C# winforms need help to do this..
oh man thanks I think I have got the idea to make it real!! thanks alot
3 replies
CC#
Created by Muhammad Hammad on 7/13/2024 in #help
✅ GetLength vs .Length
ty man I had a wrong understanding before previosly when I worked on a words counter userInput.Length gives you the total number of characters in the userInput string. In C#, strings are zero-indexed, meaning the first character is at index 0, and the last character is at index userInput.Length - 1. So I just mixed this everywhere thinking it's needed at all place
12 replies
CC#
Created by Muhammad Hammad on 7/13/2024 in #help
✅ GetLength vs .Length
I will look to clear my confusion sorry I am newbie I sometimes...
12 replies
CC#
Created by Muhammad Hammad on 7/13/2024 in #help
✅ GetLength vs .Length
but this is a different scenerio!
12 replies
CC#
Created by Muhammad Hammad on 7/13/2024 in #help
✅ GetLength vs .Length
int lngt=sentence.length-1 like this
12 replies
CC#
Created by Muhammad Hammad on 7/13/2024 in #help
✅ GetLength vs .Length
I feel I we use it? when we count length right?
12 replies
CC#
Created by Muhammad Hammad on 7/13/2024 in #help
✅ GetLength vs .Length
oh
12 replies
CC#
Created by Muhammad Hammad on 7/5/2024 in #help
question about strings & stringbuilder!
C# is cool
11 replies
CC#
Created by Muhammad Hammad on 7/5/2024 in #help
question about strings & stringbuilder!
thanks for this information! zzzzzzzzzzzzzzzz and eeeeeeeeeeeeeeeee
11 replies
CC#
Created by Muhammad Hammad on 7/2/2024 in #help
seems like this doesn't work as intended!
No description
30 replies
CC#
Created by Muhammad Hammad on 7/2/2024 in #help
seems like this doesn't work as intended!
the logic to add the last word was inside the for loop! which made it to be added repeatedly! and it was a the first letter of as which was being added repeatedly! thanks SG97
30 replies
CC#
Created by Muhammad Hammad on 7/2/2024 in #help
seems like this doesn't work as intended!
damn
30 replies
CC#
Created by Muhammad Hammad on 7/2/2024 in #help
seems like this doesn't work as intended!
oho
30 replies
CC#
Created by Muhammad Hammad on 7/2/2024 in #help
seems like this doesn't work as intended!
can you tell me!
30 replies
CC#
Created by Muhammad Hammad on 7/2/2024 in #help
seems like this doesn't work as intended!
it seems like very helpful
30 replies
CC#
Created by Muhammad Hammad on 7/2/2024 in #help
seems like this doesn't work as intended!
I want to make it count words!
30 replies