Click here to Skip to main content
15,885,546 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to Read and Write to RFID(v9t557) as Human Interface Device C# Pin
Dave Kreskowiak14-Aug-20 13:16
mveDave Kreskowiak14-Aug-20 13:16 
GeneralRe: How to Read and Write to RFID(v9t557) as Human Interface Device C# Pin
Member 1177073714-Aug-20 13:28
Member 1177073714-Aug-20 13:28 
GeneralRe: How to Read and Write to RFID(v9t557) as Human Interface Device C# Pin
Dave Kreskowiak14-Aug-20 17:26
mveDave Kreskowiak14-Aug-20 17:26 
GeneralRe: How to Read and Write to RFID(v9t557) as Human Interface Device C# Pin
Member 1177073714-Aug-20 20:18
Member 1177073714-Aug-20 20:18 
GeneralRe: How to Read and Write to RFID(v9t557) as Human Interface Device C# Pin
Dave Kreskowiak15-Aug-20 4:03
mveDave Kreskowiak15-Aug-20 4:03 
GeneralRe: How to Read and Write to RFID(v9t557) as Human Interface Device C# Pin
OriginalGriff15-Aug-20 2:31
mveOriginalGriff15-Aug-20 2:31 
QuestionHow to generate random decimal numbers in C# Pin
Sajo Nezic12-Aug-20 6:02
Sajo Nezic12-Aug-20 6:02 
AnswerRe: How to generate random decimal numbers in C# Pin
OriginalGriff12-Aug-20 6:09
mveOriginalGriff12-Aug-20 6:09 
There is no direct support for random decimal numbers in .NET, but it's pretty easy to do:
C#
private Random rand = new Random();
private decimal GetRandom(decimal min, decimal max)
    {
    return ((decimal)rand.Next((int)(min * 100.0M), (int)(max * 100.0M))) / 100.0M;
    }

"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!

AnswerRe: How to generate random decimal numbers in C# Pin
Luc Pattyn12-Aug-20 10:15
sitebuilderLuc Pattyn12-Aug-20 10:15 
AnswerRe: How to generate random decimal numbers in C# Pin
Eddy Vluggen13-Aug-20 12:07
professionalEddy Vluggen13-Aug-20 12:07 
AnswerRe: How to generate random decimal numbers in C# Pin
Patrice T14-Aug-20 22:33
mvePatrice T14-Aug-20 22:33 
AnswerRe: How to generate random decimal numbers in C# Pin
BillWoodruff19-Aug-20 1:31
professionalBillWoodruff19-Aug-20 1:31 
GeneralRe: How to generate random decimal numbers in C# Pin
jsc4219-Aug-20 6:41
professionaljsc4219-Aug-20 6:41 
QuestionReading Multiple files Pin
lalgourav11-Aug-20 5:45
lalgourav11-Aug-20 5:45 
AnswerRe: Reading Multiple files Pin
Gerry Schmitz11-Aug-20 6:25
mveGerry Schmitz11-Aug-20 6:25 
AnswerRe: Reading Multiple files Pin
OriginalGriff11-Aug-20 6:29
mveOriginalGriff11-Aug-20 6:29 
AnswerRe: Reading Multiple files Pin
Eddy Vluggen13-Aug-20 12:20
professionalEddy Vluggen13-Aug-20 12:20 
QuestionGet if Device is enabled or Disabled in C# Pin
XxKeldecknightxX10-Aug-20 5:52
XxKeldecknightxX10-Aug-20 5:52 
AnswerRe: Get if Device is enabled or Disabled in C# Pin
Luc Pattyn10-Aug-20 10:44
sitebuilderLuc Pattyn10-Aug-20 10:44 
GeneralRe: Get if Device is enabled or Disabled in C# Pin
Luc Pattyn10-Aug-20 12:02
sitebuilderLuc Pattyn10-Aug-20 12:02 
AnswerRe: Get if Device is enabled or Disabled in C# Pin
Eddy Vluggen10-Aug-20 11:57
professionalEddy Vluggen10-Aug-20 11:57 
QuestionThe provider is not compatible with the version of Oracle client Pin
Member 148339589-Aug-20 22:57
Member 148339589-Aug-20 22:57 
AnswerRe: The provider is not compatible with the version of Oracle client Pin
OriginalGriff9-Aug-20 23:07
mveOriginalGriff9-Aug-20 23:07 
GeneralRe: The provider is not compatible with the version of Oracle client Pin
Member 1483395810-Aug-20 1:13
Member 1483395810-Aug-20 1:13 
SuggestionRe: The provider is not compatible with the version of Oracle client Pin
Richard Deeming10-Aug-20 1:46
mveRichard Deeming10-Aug-20 1:46 

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.