Hello,
I have a problem with this code:
using System;
using System.Collections;
using System.Resources;
using System.Reflection;
public void resource()
{
ResourceManager rm = new
ResourceManager(Assembly.GetExecutingAssembly());
string name = rm.GetString("MediaInfoDB.sql");
}
"The best overloaded method match for
System.ResourceManager.ResourceManager(System.Type) has some invalid
arguments
Cannot convert from System.Reflection.Assembly to System.Type"
This code should work fine with .Net/Windows.
I'm using Mono 1.1.10?
What shoud I use as System.Type in ResourceManager ?
Thank you
Julien
_______________________________________________
Mono-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list