c# - Assemble.GetType produces null although the type is in the assembly -


the next code produces null:

type type = typeof(console).assembly.gettype("console"); //null 

how possible? type console in assembly console defined...

gettype() expects full name of type, including namespace.

if want single type, can using typeof(console).


Comments

Popular posts from this blog

Unable to open serial port using Putty to bluetooth device on windows 7 64 bit -

bash - How do you programmatically add a bats test? -

java - Getting exception in JDBC thin driver -