METHOD
Double.IsFinite
Tests whether a floating-point number is neither infinity nor NaN. Zero and subnormal values are finite.
Formal Syntax & Structure
csharp syntaxcsharp
double.IsFinite(value)Working Example
Example Snippetcsharp
using System;Console.WriteLine(double.IsFinite(double.NaN)); // False