using System;
using System.Data.Sql;
using System.Data.SqlTypes;
using System.Runtime.InteropServices;


[Serializable]
public struct Test
{
	public int X;
}


[Serializable]
[SqlUserDefinedType(Format.Native)]
[StructLayout(LayoutKind.Sequential)]
public struct Type1: INullable
{
	Test t1;
    public override string ToString()
    {
        string s="null";
        // Put your code here
        return s;
    }

    public bool IsNull
    {
        get
        {
            // Put your code here
            return true;
        }
    }

    public static Type1 Null
    {
        get
        {
            Type1 h = new Type1();
            return h;
        }
    }

    public static Type1 Parse(SqlString s)
    {
        if (s.IsNull || s.Value.ToLower() == "null")
            return Null;
        Type1 u = new Type1();
        // Put your code here
        return u;
    }

    // This is a place-holder method
    public static SqlString Method1(SqlString Param1)
    {
        //Insert method code here
        return "Hello";
    }
}

