Remember
Register
Search With
Seek4Info.com
Programming & Software Q&A | CollectiveSolver
Questions
Tags
Users
Welcome to collectivesolver - Programming & Software Q&A with code examples. A website with trusted programming answers. All programs are tested and work.
Contact: aviboots(AT)netvision.net.il
Most popular tags
python
c
java
cpp
c#
javascript
php
vb#
typescript
nodejs
go
rust
scala
swift
kotlin
pascal
html
ruby
dart
vbnet
r
css
bootstrap
win32
groovy
winapi
sql
mysql
jquery
pascal-string
lua
winforms
kotlin-string
bash
c-string
swift-string
cpp-string
go-string
php-string
cobol
c#-string
java-string
vbnet-string
rust-string
python-string
cpp-vector
f#
opengl
scala-string
javascript-string
pascal-array
swift-array
typescript-string
c-array
php-array
javascript-array
rust-vector
typescript-array
python-list
reactjs
scala-array
c-windows
nodejs-string
go-array
kotlin-array
nodejs-array
sdl2
sdl3
cpp-matrix
cpp-array
c#-list
vbnet-list
c-matrix
pascal-matrix
go-slice
c#-array
java-array
nodejs-express
character-code-ascii-unicode
swift-matrix
c#-matrix
angularjs
transpose-matrix
binary-search-algorithm
dot-product-two-arrays
generate-random-floating-point-numbers
all-permutations-combinations
kotlin-matrix
typescript-matrix
vbnet-array
kotlin-list
calculate-volume-cube
divide-given-amount-into-bills-coins
convert-decimal-number-to-rational-number
count-non-overlapping-instances-substring-in-string
print-floyds-triangle
case-insensitively-check-character-exists-in-string
calculate-area-pentagon
measure-function-execution-time
sort-words-string
Disclosure:
My content contains affiliate links.
Recent questions tagged C#
42,623
questions
55,358
answers
573
users
Recent questions tagged C#
1
answer
5
views
How to sort an array with a single loop in C#
asked
19 hours
ago
by
avibootz
c#
c#-sort-array-with-single-loop
sort-array-with-single-loop
1
answer
13
views
How to remove extra whitespace from a string in C#
asked
1 day
ago
by
avibootz
c#
c#-remove-extra-whitespace-string
remove-extra-whitespace-string
1
answer
15
views
How to calculate the distance between two latitude-longitude points in C#
asked
1 day
ago
by
avibootz
c#
c#-distance-between-two-latitude-longitude-points
distance-between-two-latitude-longitude-points
1
answer
17
views
How to convert a decimal to a long in C#
asked
2 days
ago
by
avibootz
c#
c#-convert-decimal-to-long
convert-decimal-to-long
2
answers
36
views
How to remove duplicate words with Unicode characters from free‑text in C#
asked
4 days
ago
by
avibootz
c#
c#-remove-duplicate-words-unicode-free-text
remove-duplicate-words-unicode-free-text
1
answer
36
views
How to remove duplicate words from free‑text in C#
asked
6 days
ago
by
avibootz
c#
c#-remove-duplicate-words-from-free-text
remove-duplicate-words-from-free-text
1
answer
32
views
How to remove duplicate case‑insensitive words separated by multiple delimiters from a string in C#
asked
Aug 1
by
avibootz
c#
c#-remove-duplicate-case-insensitive-words-multiple-delimiters-from-string
remove-duplicate-case-insensitive-words-multiple-delimiters-from-string
1
answer
27
views
How to perform high‑performance reversible text compression using a word dictionary in C#
asked
Jul 31
by
avibootz
c#
c#-text-compression-using-word-dictionary
text-compression-using-word-dictionary
1
answer
40
views
How to traverse an array from both sides at the same time in C#
asked
Jul 30
by
avibootz
c#
c#-traverse-array-both-sides-same-time
traverse-array-both-sides-same-time
1
answer
39
views
How to generate random Powerball lottery numbers (pick 5 numbers from 1-69 + 1 Powerball from 1-26) in C#
asked
Jul 29
by
avibootz
c#
c#-generate-random-powerball-lottery-numbers-5-of-1-69-and-1-of-1-26
generate-random-powerball-lottery-numbers-5-of-1-69-and-1-of-1-26
1
answer
33
views
How to compute the total number of Powerball lottery combinations (5 out of 99 and 1 out of 26) in C#
asked
Jul 29
by
avibootz
c#
c#-compute-total-number-powerball-lottery-combinations-5-99-and-1-26
compute-total-number-powerball-lottery-combinations-5-99-and-1-26
1
answer
36
views
How to generate random lottery numbers for 6 numbers out of 37 and 1 power number out of 7 in C#
asked
Jul 28
by
avibootz
c#
c#-generate-random-lottery-numbers-for-6-out-of-37-power-1-out-of-7
generate-random-lottery-numbers-for-6-out-of-37-power-1-out-of-7
1
answer
38
views
How to compute the total number of lottery combinations for choosing 6 out of 37 and 1 power out of 7 in C#
asked
Jul 27
by
avibootz
c#
c#-total-lottery-combinations-choosing-6-out-of-37-power-1-out-of-7
total-lottery-combinations-choosing-6-out-of-37-power-1-out-of-7
1
answer
34
views
How to find the Nth set bit in a 64‑bit integer with C#
asked
Jul 25
by
avibootz
c#
c#-find-n-set-bit-in-64-bit-integer
find-n-set-bit-in-64-bit-integer
1
answer
57
views
How to find the Nth set bit in a 32‑bit integer with C#
asked
Jul 24
by
avibootz
c#
c#-find-n-set-bit-in-32-bit-integer
find-n-set-bit-in-32-bit-integer
1
answer
45
views
How to convert a decimal number to a rational number in C#
asked
Jul 23
by
avibootz
c#
c#-convert-decimal-number-to-rational-number
convert-decimal-number-to-rational-number
1
answer
42
views
How to round an integer up to the nearest multiple of 'multiple' in C#
asked
Jul 22
by
avibootz
c#
c#-round
c#-round-integer-up-nearest-multiple-of-multiple
round-integer-up-nearest-multiple-of-multiple
1
answer
39
views
How to find the minimal possible sum of two distinct elements in a list with C#
asked
Jul 21
by
avibootz
c#
c#-minimal-sum-two-elements-list
minimal-sum-two-elements-list
1
answer
45
views
How to split a 32‑bit integer into its four bytes in C#
asked
Jul 20
by
avibootz
c#
c#-split-32-bit-integer-into-four-bytes
split-32-bit-integer-into-four-bytes
1
answer
46
views
How to split a number N into M random positive parts whose sum is exactly N in C#
asked
Jul 19
by
avibootz
c#
c#-split-number-n-into-m-random-parts-whose-sum-is-n
split-number-n-into-m-random-parts-whose-sum-is-n
1
answer
37
views
How to determine whether two axis‑aligned rectangles overlap in C#
asked
Jul 18
by
avibootz
c#
c#-determine-whether-two-axis-aligned-rectangles-overlap
determine-whether-two-axis-aligned-rectangles-overlap
1
answer
30
views
How to generate 3 no-digit repeated random integers, each with distinct digits in C#
asked
Jul 17
by
avibootz
c#
c#-generate-3-no-digit-repeated-random-integers-each-with-distinct-digits
generate-3-no-digit-repeated-random-integers-each-with-distinct-digits
2
answers
49
views
How to generate N random integers, each with distinct digits and exact length L in C#
asked
Jul 16
by
avibootz
c#
c#-generate-n-random-integers-with-distinct-digits-and-length-l
generate-n-random-integers-with-distinct-digits-and-length-l
1
answer
45
views
How to sort a string in the order: lowercase letters - uppercase letters - odd digits - even digits in C#
asked
Jul 14
by
avibootz
c#
c#-sort-string-order-lowercase-uppercase-odd-even
sort-string-order-lowercase-uppercase-odd-even
1
answer
38
views
How to create an alphabet rangoli (geometric and character pattern) of size N in C#
asked
Jul 12
by
avibootz
c#
c#-create-alphabet-rangoli
create-alphabet-rangoli
1
answer
49
views
How to wrap a string into lines of width w in C#
asked
Jul 11
by
avibootz
c#
c#-wrap-string-into-lines-width-w
wrap-string-into-lines-width-w
1
answer
45
views
How to compute the day of the week for January 1st of any given year in C#
asked
Jul 11
by
avibootz
c#
c#-day-of-week-january-1st-any-given-year
day-of-week-january-1st-any-given-year
1
answer
43
views
How to get common letters that appear in every word in a list of words with C#
asked
Jul 10
by
avibootz
c#
c#-common-letters-every-word-list-words
common-letters-every-word-list-words
1
answer
49
views
How to encode and decode any string into Base‑36 in C#
asked
Jul 7
by
avibootz
c#
c#-encode-decode-string-base-36
encode-decode-string-base-36
1
answer
52
views
How to generate random positive integers that sum to N in C#
asked
Jul 6
by
avibootz
c#
c#-generate-random-integers-sum-to-n
generate-random-integers-sum-to-n
1
answer
48
views
How to perform multiple 5‑card draws from a shuffled 52‑card deck in C#
asked
Jul 5
by
avibootz
c#
c#-perform-multiple-5-card-draws-from-52-card-deck
perform-multiple-5-card-draws-from-52-card-deck
1
answer
46
views
How to pick 5 random cards from a 52‑card deck in C#
asked
Jul 4
by
avibootz
c#
c#-pick-5-random-cards-from-a-52-card-deck
pick-5-random-cards-from-a-52-card-deck
1
answer
40
views
How to randomly place a random value in each row of an 8x8 int array with zero values in C#
asked
Jul 3
by
avibootz
c#
c#-randomly-place-random-value-each-row-8-8-int-array
randomly-place-random-value-each-row-8-8-int-array
1
answer
43
views
How to display string letters sorted by frequency in C#
asked
Jul 3
by
avibootz
c#
c#-display-string-letters-sorted-by-frequency
display-string-letters-sorted-by-frequency
1
answer
32
views
How to find the frequency of each digit (0–9) in a number with C#
asked
Jul 2
by
avibootz
c#
c#-find-frequency-each-digit-in-number
find-frequency-each-digit-in-number
1
answer
44
views
How to reverse a singly linked list in-place in C#
asked
Jun 30
by
avibootz
c#
c#-reverse-singly-linked-list-in-place
reverse-singly-linked-list-in-place
1
answer
41
views
How to iterate an array from the middle outward (stepping left and right alternately) in C#
asked
Jun 29
by
avibootz
c#
c#-iterate-array-from-middle-outward
iterate-array-from-middle-outward
1
answer
41
views
How to calculates the distance between two decimal numbers (absolute difference) in C#
asked
Jun 28
by
avibootz
c#
c#-calculates-distance-between-two-decimal-numbers
calculates-distance-between-two-decimal-numbers
1
answer
48
views
How to determine whether an n‑bit binary number is divisible by 5 in C#
asked
Jun 27
by
avibootz
c#
c#-determine-whether-n-bit-binary-number-divisible-by-5
determine-whether-n-bit-binary-number-divisible-by-5
1
answer
45
views
How to check whether a number is positive/zero/negative without using conditional statements in C#
asked
Jun 27
by
avibootz
c#
c#-check-positive-zero-negative-without-conditional-statements
check-positive-zero-negative-without-conditional-statements
1
answer
59
views
How to case-insensitively check if a character exists in a string with C#
asked
Jun 26
by
avibootz
c#
c#-case-insensitively-check-character-exists-in-string
case-insensitively-check-character-exists-in-string
1
answer
47
views
How to zero every n-bit from a number if that bit is 1 in C#
asked
Jun 25
by
avibootz
c#
c#-zero-every-n-bit-from-number
zero-every-n-bit-from-number
1
answer
48
views
How to remove multiple bits from a number and shift the remaining bits right to fill the gaps in C#
asked
Jun 24
by
avibootz
c#
c#-remove-multiple-bits-shift-remaining-bits-right-to-fill-gaps
remove-multiple-bits-shift-remaining-bits-right-to-fill-gaps
1
answer
52
views
How to remove a bit from a number and shift all bits to the right to fill the gap in C#
asked
Jun 23
by
avibootz
c#
c#-remove-bit-from-number-shift-bits-right-to-fill-the-gap
remove-bit-from-number-shift-bits-right-to-fill-the-gap
1
answer
47
views
How to combine two 32-bit values into one 64-bit value in C#
asked
Jun 23
by
avibootz
c#
c#-combine-two-32-bit-values-into-one-64-bit-value
combine-two-32-bit-values-into-one-64-bit-value
1
answer
44
views
How to rank elements of an integer array based on their sorted order in C#
asked
Jun 21
by
avibootz
c#
c#-rank-elements-array-based-on-sorted-order
rank-elements-array-based-on-sorted-order
1
answer
45
views
How to rank elements of an array in C#
asked
Jun 21
by
avibootz
c#
c#-rank-elements-array
rank-elements-array
1
answer
51
views
How to use Regex to match the first 28 days of the month in C#
asked
Jun 20
by
avibootz
c#
c#-regex-match-first-28-days-the-month
regex-match-first-28-days-the-month
1
answer
50
views
How to multiply two long numbers in C#
asked
Jun 18
by
avibootz
c#
c#-multiply-two-long-numbers
multiply-two-long-numbers
1
answer
35
views
How to list all ISO countries (alpha-2 country code - country name) in C#
asked
Jun 18
by
avibootz
c#
c#-list-all-iso-countries-alpha-2-country-code-country-name
list-all-iso-countries-alpha-2-country-code-country-name
Page:
1
2
3
4
5
6
...
80
next »
...