I have a generic method:
Public bool Insert<T>(object data)
{
Bool isEmpty()=> ?
}
I need to check if data = default(T). T could be a list, int, datetime Any ideas?
I have a generic method:
Public bool Insert<T>(object data)
{
Bool isEmpty()=> ?
}
I need to check if data = default(T). T could be a list, int, datetime Any ideas?