Click here to Skip to main content
15,949,686 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi i want to know how to write t = 0 : 1/fs : T; in c # and use it as a double in a for loop

What I have tried:

i couldnt do it i have tried some equations they dont seem to work
Posted
Updated 11-Aug-22 21:43pm

1 solution

With just a tiny fragment, we have to guess:

C#
for (double t = 0.0; t <= 1.0 / fs; t += 1.0)
   {
   ...
   }
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900