//.NET 7 includes C# 11, which comes with many new enhancements
// read about it here: https://medium.com/entech-solutions/new-features-in-c-11-net-7-with-interactive-examples-c8e4e5ea1e5a
using System;
// Before C# 11
[TypeAttribute(typeof(string))]
static string SomeMethod() => default;
public class TypeAttribute : Attribute
{
public TypeAttribute(Type t) => ParamType = t;
public Type ParamType { get; }
}