Skip to main content
edited tags
Link
Parag Meshram
  • 8.5k
  • 10
  • 57
  • 88
edited tags
Link
Parag Meshram
  • 8.5k
  • 10
  • 57
  • 88
Source Link
Sisiutl
  • 5k
  • 8
  • 45
  • 56

I need a slow C# function

For some testing I'm doing I need a C# function that takes around 10 seconds to execute. It will be called from an ASPX page, but I need the function to eat up CPU time on the server, not rendering time. A slow query into the Northwinds database would work, or some very slow calculations. Any ideas?