What is the latest version of .Net that I can consume from ColdFusion?

ColdFusion returns “Class not found” when trying to consume a *modern* public static .Net class. What is the latest version that I can use?