Yesterday I stumbled over 2 questions which seemed to be sample code.
The first stated
I wrote a sample project to show you my model. What do you think about it?
and the other had code like
public async Task TheMethod(int id, string val)
// DO LONG RUNNING TASK await Task.Delay(3000); Console.WriteLine(id + " " + val + " at time " + DateTime.Now.ToString("m:ss"));
Usually I would vote to close both of the questions.
For the first one I would have voted but I hadn't been entirely sure also because I already commented on the op's question on Stack Overflow.
I did vote to close the second one and it is on hold right now (also it seems to be running code but just looks like sample code).
Should we add a tag proof-of-concept or should we decide from case to case if a question like these are on/off topic?